configure: Treat warnings as errors in check_yasm()
[ffmpeg.git] / configure
index 576ada7b76d96db35b7319078eb62e1c059e3b84..3abe2313c7bb76cdf0049f3b2e9b51752f674401 100755 (executable)
--- 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(){