History

configure: Set default HOSTCFLAGS/HOSTCPPFLAGS after compiler detection

This prevents the default HOSTCFLAGS from getting clobbered by flags passed to configure on the command line.

Diego Biurrun committed 12 years ago

Commit 8267f931 parent 91c98181 file · +2 −2Browse files

Unified · Split

configure+2−2
@@ -2125,8 +2125,6 @@ HOSTCC_E='-E -o $@' · 2124 unmodified lines
2125HOSTCC_O='-o $@'2125HOSTCC_O='-o $@'
2126HOSTLD_O='-o $@'2126HOSTLD_O='-o $@'
2127 2127
2128host_cflags='-O3'
2129host_cppflags='-D_ISOC99_SOURCE'
2130host_libs='-lm'2128host_libs='-lm'
2131host_cflags_filter=echo2129host_cflags_filter=echo
2132host_ldflags_filter=echo2130host_ldflags_filter=echo
@@ -3167,8 +3165,10 @@ check_cc -D_LARGEFILE_SOURCE <<EOF && add_cppflags -D_LARGEFILE_SOURCE · 1034 unmodified lines
3167#include <stdlib.h>3165#include <stdlib.h>
3168EOF3166EOF
3169 3167
3168add_host_cppflags -D_ISOC99_SOURCE
3170check_host_cflags -std=c993169check_host_cflags -std=c99
3171check_host_cflags -Wall3170check_host_cflags -Wall
3171check_host_cflags -O3
3172 3172
3173check_64bit(){3173check_64bit(){
3174 arch32=$13174 arch32=$1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t