aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-29 19:43:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-10-29 19:43:14 +0100
commitdf69af4ee1bcbefb83f0fa7e95f8c6886d8c5bba (patch)
treeffe717fb03c951a89953ac850bfaadb2083c9bc5
parent8d55362fd0d40be335d42a941ce7d5afb9b8146f (diff)
parentdcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea (diff)
downloadffmpeg-df69af4ee1bcbefb83f0fa7e95f8c6886d8c5bba.tar.gz
Merge commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea'
* commit 'dcd3eda6cb8884beeb67ef5eb61b4bb6b01d29ea': configure: Move gcc-only -W option where it belongs Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 24affaa46f..0fb6ce847a 100755
--- a/configure
+++ b/configure
@@ -4430,7 +4430,6 @@ check_cflags -Wmissing-prototypes
check_cflags -Wno-pointer-to-int-cast
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
@@ -4530,6 +4529,7 @@ elif enabled gcc; then
check_cflags -Werror=missing-prototypes
check_cflags -Werror=return-type
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