summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/qcc-base.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/common/qcc-base.conf')
-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 da006f52d7..1dee0e73bf 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