Merge commit '9bf262f4c6e14f43f291cdb745ed372884ee2a7f'
authorClément Bœsch <u@pkh.me>
Fri, 19 May 2017 09:59:35 +0000 (11:59 +0200)
committerClément Bœsch <u@pkh.me>
Fri, 19 May 2017 09:59:35 +0000 (11:59 +0200)
* commit '9bf262f4c6e14f43f291cdb745ed372884ee2a7f':
  configure: Use proper compiler-specific speed flags for hostcc

Merged-by: Clément Bœsch <u@pkh.me>
configure

index 33eb628..2a3a767 100755 (executable)
--- a/configure
+++ b/configure
@@ -4223,6 +4223,7 @@ set_ccvars CXX
 
 probe_cc hostcc "$host_cc"
 host_cflags_filter=$_flags_filter
+host_cflags_speed=$_cflags_speed
 add_host_cflags  $_flags $_cflags
 set_ccvars HOSTCC
 
@@ -4726,7 +4727,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