summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer.qnx@kdab.com>2012-03-19 13:28:41 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-21 09:24:54 (GMT)
commitade8eb52e9009d6f4d720b81e30ee9b4bca18a3f (patch)
tree836fe4db086ee0d475db4680a5456b67facb79d5 /mkspecs
parent29e03d3558f6990b8294944d1b2d39b4bd73d5c8 (diff)
downloadQt-ade8eb52e9009d6f4d720b81e30ee9b4bca18a3f.zip
Qt-ade8eb52e9009d6f4d720b81e30ee9b4bca18a3f.tar.gz
Qt-ade8eb52e9009d6f4d720b81e30ee9b4bca18a3f.tar.bz2
Silence warnings about va_list mangling for QNX toolchain
Backport of 2d5a4a5d3aae4efe7c17cadf03dfbb5cc4c36e86 from qtbase. Change-Id: Id8453fdd40c88acd27f2ddd932a5a410382e1b67 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common/qcc-base.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/mkspecs/common/qcc-base.conf b/mkspecs/common/qcc-base.conf
index da006f5..1dee0e7 100644
--- a/mkspecs/common/qcc-base.conf
+++ b/mkspecs/common/qcc-base.conf
@@ -3,11 +3,12 @@
#
# - The QNX qcc compiler
#
-# The only difference between this and gcc-base.conf is that -pipe is removed
-# as it's on by default in qcc (and has an analogous -nopipe option)
+# The only differences between this and gcc-base.conf is that -pipe is removed
+# as it's on by default in qcc (and has an analogous -nopipe option) and we
+# add -Wno-psabi to prevent lots of warnings about va_list mangling
#
-QMAKE_CFLAGS +=
+QMAKE_CFLAGS += -Wno-psabi
QMAKE_CFLAGS_DEPS += -M
QMAKE_CFLAGS_WARN_ON += -Wall -W
QMAKE_CFLAGS_WARN_OFF += -w