[FFmpeg-cvslog] configure: Move gcc-only -W option where it belongs
Luca Barbato
git at videolan.org
Tue Oct 29 19:48:25 CET 2013
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Oct 28 12:45:04 2013 +0100| [dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea] | committer: Luca Barbato
configure: Move gcc-only -W option where it belongs
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 9c2e7fc..34a3650 100755
--- a/configure
+++ b/configure
@@ -3907,7 +3907,6 @@ check_cflags -Wundef
check_cflags -Wmissing-prototypes
check_cflags -Wstrict-prototypes
enabled extra_warnings && check_cflags -Winline
-enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
# add some linker flags
check_ldflags -Wl,--warn-common
@@ -3999,6 +3998,7 @@ elif enabled gcc; then
check_cflags -Werror=return-type
check_cflags -Werror=declaration-after-statement
check_cflags -Werror=vla
+ enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then
More information about the ffmpeg-cvslog
mailing list