summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-01-22 18:10:55 +0100
committerKay Sievers <kay@vrfy.org>2013-01-23 02:12:48 +0100
commit780040dc2a4b08a2c1fe5bd8db3a70e966c2acb3 (patch)
treebbb1099f01bc6a4f8f33daed5f218539ffe35a1a
parentc93350728e822c3da7522664cf0a0e0ee10509fa (diff)
configure.ac: combine --Wformat* options into one argument
https://bugs.freedesktop.org/show_bug.cgi?id=59621
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 540bfa47a5..ee599a7858 100644
--- a/configure.ac
+++ b/configure.ac
@@ -130,12 +130,10 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
-Wextra \
-Wno-inline \
-Wundef \
- -Wformat=2 \
+ "-Wformat=2 -Wformat-security -Wformat-nonliteral" \
-Wlogical-op \
-Wsign-compare \
- -Wformat-security \
-Wmissing-include-dirs \
- -Wformat-nonliteral \
-Wold-style-definition \
-Wpointer-arith \
-Winit-self \