summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorjamal <jamrial@gmail.com>2012-09-01 13:36:10 -0300
committerMichael Niedermayer <michaelni@gmx.at>2012-09-01 23:45:32 +0200
commitc112b6b68f8c56ab4059ddfa4a6825da162fd30f (patch)
treefe9881c4d2b1c562537f45ee1c7bf440600224c8 /configure
parent19a71dbcb911513de0b835f63c3c78744b3b1703 (diff)
configure: Treat warnings as errors in check_yasm()
yasm generates a warning instead of an error when "CPU amdnop" is not supported, so the check always succeeds. HAVE_CPUNOP as true when the available yasm version doesn't support amdnop doesn't make sense. Check http://fate.ffmpeg.org/log.cgi?time=20120901143315&log=compile&slot=x86_64-archlinux-gcc-oldyasm to see the amount of warnings it generates. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 576ada7b76..3abe2313c7 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(){