[gnome-terminal] build: Group format warning flags together



commit 3d157f391e8f23a77981c508d0e890537464cf8e
Author: Christian Persch <chpe gnome org>
Date:   Fri May 2 19:47:28 2014 +0200

    build: Group format warning flags together
    
    Otherwise the detection incorrectly finds them not supported.

 configure.ac |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 71780b0..47277b4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -251,9 +251,7 @@ CC_CHECK_FLAGS_APPEND([AM_CFLAGS],[CFLAGS],[ \
   -Wcast-align \
   -Wendif-labels \
   -Werror=declaration-after-statement \
-  -Werror=format=2 \
-  -Werror=format-nonliteral \
-  -Werror=format-security \
+  "-Werror=format=2 -Werror=format-nonliteral -Werror=format-security" \
   -Werror=implicit-function-declaration \
   -Werror=init-self \
   -Werror=missing-include-dirs \
@@ -261,7 +259,6 @@ CC_CHECK_FLAGS_APPEND([AM_CFLAGS],[CFLAGS],[ \
   -Werror=pointer-arith \
   -Wextra \
   -Wfloat-equal \
-  -Wformat-nonliteral \
   -Wimplicit \
   -Wlogical-op \
   -Wmissing-declarations \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]