summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLandry Breuil <landry@rhaalovely.net>2011-03-07 18:45:35 +0100
committerRichard Hughes <richard@hughsie.com>2011-03-21 18:40:00 +0000
commit7dda4cd66060fbc5e5e2dea4a04ec197ea60a95d (patch)
tree755b8eb2c642fc9fd85b15f58894546f7731e17e /configure.ac
parentd51953c305c0fd8f6e609ff9eca599d0b332affa (diff)
-Wuninitialized needs -O
Signed-off-by: Richard Hughes <richard@hughsie.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 540bc9a..7a8589a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,7 +126,7 @@ if test "$GCC" = "yes"; then
# WARNINGFLAGS_C="$WARNINGFLAGS_C -Wignored-qualifiers"
WARNINGFLAGS_C="$WARNINGFLAGS_C -Wsign-compare"
# WARNINGFLAGS_C="$WARNINGFLAGS_C -Wtype-limits"
- WARNINGFLAGS_C="$WARNINGFLAGS_C -Wuninitialized"
+ WARNINGFLAGS_C="$WARNINGFLAGS_C -O -Wuninitialized"
WARNINGFLAGS_C="$WARNINGFLAGS_C -Waggregate-return"
WARNINGFLAGS_C="$WARNINGFLAGS_C -Wdeclaration-after-statement"
# WARNINGFLAGS_C="$WARNINGFLAGS_C -Wshadow"