forked from qt-creator/qt-creator
Qmake: Fix stripping of std c++ flags
Change-Id: Ie2f0dbd63e7ecd53b7d034ab2930e5d05f0e01ea Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -252,8 +252,7 @@ isEmpty(LLVM_VERSION) {
|
|||||||
# It is not intended for cross compiler linking.
|
# It is not intended for cross compiler linking.
|
||||||
LLVM_CXXFLAGS *= $$system($$llvm_config --cxxflags, lines)
|
LLVM_CXXFLAGS *= $$system($$llvm_config --cxxflags, lines)
|
||||||
LLVM_CXXFLAGS ~= s,-fno-exceptions,
|
LLVM_CXXFLAGS ~= s,-fno-exceptions,
|
||||||
LLVM_CXXFLAGS ~= s,-std=c++11,
|
LLVM_CXXFLAGS ~= s,-std.c\+\+..,
|
||||||
LLVM_CXXFLAGS ~= s,-std=c++0x,
|
|
||||||
LLVM_CXXFLAGS ~= s,-O\S*,
|
LLVM_CXXFLAGS ~= s,-O\S*,
|
||||||
LLVM_CXXFLAGS ~= s,/O\S*,
|
LLVM_CXXFLAGS ~= s,/O\S*,
|
||||||
LLVM_CXXFLAGS ~= s,/W4,
|
LLVM_CXXFLAGS ~= s,/W4,
|
||||||
|
Reference in New Issue
Block a user