From bab502c41306af30777d0702b26ee244eb544d21 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Wed, 27 Jun 2012 18:08:50 +0200 Subject: Clang: Do not warn about unused parameters (caused by ccache) Change-Id: If4e16b17d999cebac5579e108e9a2dbb7df20d2d Reviewed-by: Oswald Buddenhagen --- mkspecs/unsupported/linux-clang/qmake.conf | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v0.12