summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-10-26 21:27:48 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-10-28 00:04:49 +0100
commitde6061203e2d509579ab110fb1873aade34320f5 (patch)
tree1c7cbb40439e0b0e75d2d6da0f2d0c77e4c4143d
parent0b357a8095e72b092cc5c2aacc2f806db75ecae3 (diff)
configure: Disable -Wmaybe-uninitialized by default
It is by definition unreliable and causes pointless noise on valid code.
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index f542995dbd..9c2e7fc26f 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