summaryrefslogtreecommitdiff
authorLuca Barbato <lu_zero@gentoo.org>2013-10-28 11:45:04 (GMT)
committer Luca Barbato <lu_zero@gentoo.org>2013-10-29 10:36:00 (GMT)
commitdcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea (patch)
treecc5107a44862abba23949003e768e1ad51fd228b
parentcd43ca0443a298ab8cf9f9567c568f83b67b656c (diff)
downloadffmpeg-dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea.zip
ffmpeg-dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea.tar.gz
ffmpeg-dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea.tar.bz2
configure: Move gcc-only -W option where it belongs
Diffstat
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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