diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-25 21:35:21 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-12-25 21:35:21 +0900 |
commit | 878c1e710de54bf913e085f5d5f6a198810c968f (patch) | |
tree | 0ca6ce4cb02904fc28e9f4094c61df86712974a3 | |
parent | 53241b0b47d80b90c3834336dc3db89676e1c007 (diff) | |
download | libquotient-878c1e710de54bf913e085f5d5f6a198810c968f.tar.gz libquotient-878c1e710de54bf913e085f5d5f6a198810c968f.zip |
qmake: Use QMAKE_CXX_FLAGS_WARN_ON rather than QMAKE_CXX_FLAGS
Because the damn thing puts QMAKE_CXX_FLAGS before what's put by CONFIG, and CONFIG injects -W -Wall that cancels -Wno-unused-parameter.
-rw-r--r-- | libqmatrixclient.pri | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmatrixclient.pri b/libqmatrixclient.pri index 10476cc9..f0c2417f 100644 --- a/libqmatrixclient.pri +++ b/libqmatrixclient.pri @@ -1,6 +1,6 @@ QT += network CONFIG += c++14 warn_on rtti_off -QMAKE_CXXFLAGS += -Wno-unused-parameter +QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter INCLUDEPATH += $$PWD |