summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-10-09 10:28:08 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 10:34:10 -0700
commit9f582f76d052423b24f570d9e36036fb81a73818 (patch)
tree1985a3877ab6a8f7ec942282e13bfede304c9403 /subsurface-configure.pri
parent97f3b3b7470e1175772b1826176655fb7028e5c8 (diff)
downloadsubsurface-9f582f76d052423b24f570d9e36036fb81a73818.tar.gz
Turn down warnings with Clang too
Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 838513978..484092bbf 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -10,7 +10,8 @@
# these warnings are in general just wrong and annoying - but should be
# turned on every once in a while in case they do show the occasional
# actual bug
-*-g++*: QMAKE_CFLAGS += -Wno-unused-result -Wno-maybe-uninitialized -Wno-pointer-sign -fno-strict-overflow
+*-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-maybe-uninitialized -Wno-pointer-sign -fno-strict-overflow
+*-clang*: QMAKE_CFLAGS += -Wno-format-security
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized -fno-strict-overflow