summaryrefslogtreecommitdiff
authorLuca Barbato <lu_zero@gentoo.org>2013-10-26 19:27:48 (GMT)
committer Luca Barbato <lu_zero@gentoo.org>2013-10-27 23:04:49 (GMT)
commitde6061203e2d509579ab110fb1873aade34320f5 (patch)
tree1c7cbb40439e0b0e75d2d6da0f2d0c77e4c4143d
parent0b357a8095e72b092cc5c2aacc2f806db75ecae3 (diff)
downloadffmpeg-de6061203e2d509579ab110fb1873aade34320f5.zip
ffmpeg-de6061203e2d509579ab110fb1873aade34320f5.tar.gz
ffmpeg-de6061203e2d509579ab110fb1873aade34320f5.tar.bz2
configure: Disable -Wmaybe-uninitialized by default
It is by definition unreliable and causes pointless noise on valid code.
Diffstat
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f542995..9c2e7fc 100755
--- a/configure
+++ b/configure
@@ -3907,6 +3907,7 @@ 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