forked from qt-creator/qt-creator
Clang: Use llvm_config --cxxflags
Using llvm_config --cxxflags can be potential dangerous. We should test every configuration if it is compiling. It has the advantage that we don't need to care anymore about incompatible flags to the used clang version. Change-Id: I3bbddb1935dca9896c64ebafd1fbe72840db8bd4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -16,7 +16,7 @@ QT -= gui
|
||||
LIBS += $$LIBTOOLING_LIBS
|
||||
INCLUDEPATH += $$LLVM_INCLUDEPATH
|
||||
|
||||
QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_RTTI_OFF $$LLVM_CXXFLAGS
|
||||
QMAKE_CXXFLAGS += $$LLVM_CXXFLAGS
|
||||
|
||||
SOURCES += \
|
||||
clangrefactoringbackendmain.cpp
|
||||
|
||||
Reference in New Issue
Block a user