summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-03-18 16:51:18 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-03-20 11:34:18 +0100
commitc60b6c7665220b4383a4851708cfa74f9c2a6fcb (patch)
tree35335a0703cbe10aa990970b54174779b2ba8b25
parent52f8321c412cad280c9029f10f9aef03f4f20544 (diff)
add -Wundef to compiler flags
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I61ab4b6b536e77d153f44b9f8569b49e0be60002
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index a691e2723040..d20b9f78ac20 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -66,6 +66,7 @@ gb_CFLAGS_COMMON := \
-Wall \
-Wendif-labels \
-Wextra \
+ -Wundef \
-fmessage-length=0 \
-fno-common \
-pipe \
@@ -74,6 +75,7 @@ gb_CXXFLAGS_COMMON := \
-Wall \
-Wendif-labels \
-Wextra \
+ -Wundef \
-fmessage-length=0 \
-fno-common \
-pipe \