summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-01-19 11:36:52 +0100
committerDiego Biurrun <diego@biurrun.de>2017-01-25 13:25:02 +0100
commit9bf262f4c6e14f43f291cdb745ed372884ee2a7f (patch)
tree483e2f83aac44b5508448431815faa4d54275ed8
parentbf38959a30ecba4e4ee95d4f2a80ba7ece4f34be (diff)
configure: Use proper compiler-specific speed flags for hostcc
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index e79c6225fb..f1867532a0 100755
--- a/configure
+++ b/configure
@@ -3372,6 +3372,7 @@ set_ccvars CC
probe_cc hostcc "$host_cc"
host_cflags_filter=$_flags_filter
+host_cflags_speed=$_cflags_speed
add_host_cflags $_flags $_cflags
set_ccvars HOSTCC
@@ -3759,7 +3760,7 @@ EOF
add_host_cppflags -D_ISOC99_SOURCE
check_host_cflags -std=c99
check_host_cflags -Wall
-check_host_cflags -O3
+check_host_cflags $host_cflags_speed
check_64bit(){
arch32=$1