[FFmpeg-cvslog] configure: Treat warnings as errors in check_yasm()
jamal
git at videolan.org
Sat Sep 1 23:50:26 CEST 2012
ffmpeg | branch: master | jamal <jamrial at gmail.com> | Sat Sep 1 13:36:10 2012 -0300| [c112b6b68f8c56ab4059ddfa4a6825da162fd30f] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c112b6b68f8c56ab4059ddfa4a6825da162fd30f
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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(){
More information about the ffmpeg-cvslog
mailing list