[FFmpeg-devel] [PATCH] configure: Treat warnings as errors in check_yasm()

jamal jamrial at gmail.com
Sat Sep 1 18:36:10 CEST 2012


yasm generates a warning instead of an error when "CPU amdnop" is not supported, so the check always succeeds.
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 576ada7b..3abe231 100755
--- a/configure
+++ b/configure
@@ -747,7 +747,7 @@ check_yasm(){
     echo "$1" > $TMPS
     log_file $TMPS
     shift 1
-    check_cmd $yasmexe $YASMFLAGS "$@" -o $TMPO $TMPS
+    check_cmd $yasmexe $YASMFLAGS -Werror "$@" -o $TMPO $TMPS
 }
 
 ld_o(){
-- 
1.7.8.6



More information about the ffmpeg-devel mailing list