[FFmpeg-cvslog] configure: Move optflags checks to a more sensible place

Diego Biurrun git at videolan.org
Fri May 19 12:57:53 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Dec 15 12:20:06 2016 +0100| [bf38959a30ecba4e4ee95d4f2a80ba7ece4f34be] | committer: Diego Biurrun

configure: Move optflags checks to a more sensible place

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

 configure | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 53dd809b86..e79c6225fb 100755
--- a/configure
+++ b/configure
@@ -4926,6 +4926,9 @@ check_optflags(){
     enabled lto && check_ldflags "$@"
 }
 
+check_optflags $optflags
+check_optflags -fno-math-errno
+check_optflags -fno-signed-zeros
 
 if enabled lto; then
     test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
@@ -4933,10 +4936,6 @@ if enabled lto; then
     check_ldflags -flto $cpuflags
 fi
 
-check_optflags $optflags
-check_optflags -fno-math-errno
-check_optflags -fno-signed-zeros
-
 if enabled icc; then
     # Just warnings, no remarks
     check_cflags -w1



More information about the ffmpeg-cvslog mailing list