mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
fix clang check when clang++ is called c++ (#1924)
* fix clang check when clang++ is called c++ * fix syntax
This commit is contained in:
parent
9ae79e650d
commit
36b9466f89
|
@ -33,7 +33,8 @@ win32-msvc* {
|
|||
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Werror=return-type
|
||||
|
||||
equals(QMAKE_CXX, "clang++") {
|
||||
CXX_VERSION = $$system($$QMAKE_CXX --version)
|
||||
contains(CXX_VERSION, "clang") {
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-local-typedef
|
||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-private-field
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue