configure: Disable -Wmaybe-uninitialized by default
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 26 Oct 2013 19:27:48 +0000 (21:27 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 27 Oct 2013 23:04:49 +0000 (00:04 +0100)
It is by definition unreliable and causes pointless noise on valid
code.

configure

index f542995..9c2e7fc 100755 (executable)
--- 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