summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-06-27 16:08:50 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-06-28 13:22:22 (GMT)
commitbab502c41306af30777d0702b26ee244eb544d21 (patch)
tree1dc62b7471d46276c3f5369a41ce6c7542ccf7c0 /mkspecs
parentc358e12777789cacb127e8cb0aef61a4a0142172 (diff)
downloadQt-bab502c41306af30777d0702b26ee244eb544d21.zip
Qt-bab502c41306af30777d0702b26ee244eb544d21.tar.gz
Qt-bab502c41306af30777d0702b26ee244eb544d21.tar.bz2
Clang: Do not warn about unused parameters (caused by ccache)
Change-Id: If4e16b17d999cebac5579e108e9a2dbb7df20d2d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/unsupported/linux-clang/qmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/unsupported/linux-clang/qmake.conf b/mkspecs/unsupported/linux-clang/qmake.conf
index 6b63b7a..7ad1a01 100644
--- a/mkspecs/unsupported/linux-clang/qmake.conf
+++ b/mkspecs/unsupported/linux-clang/qmake.conf
@@ -15,5 +15,7 @@ include(../../common/gcc-base-unix.conf)
include(../../common/clang.conf)
QMAKE_LFLAGS += -ccc-gcc-name g++
+QMAKE_CXXFLAGS += -Qunused-arguments
+QMAKE_CFLAGS += -Qunused-arguments
load(qt_config)