[FFmpeg-cvslog] configure: Use proper compiler-specific speed flags for hostcc

Diego Biurrun git at videolan.org
Fri May 19 13:00:30 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jan 19 11:36:52 2017 +0100| [9bf262f4c6e14f43f291cdb745ed372884ee2a7f] | committer: Diego Biurrun

configure: Use proper compiler-specific speed flags for hostcc

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9bf262f4c6e14f43f291cdb745ed372884ee2a7f
---

 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list