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:
Tim Jenssen
2016-09-06 09:29:12 +02:00
committed by Marco Bubke
parent 762490e9ef
commit d2f615dca5
2 changed files with 2 additions and 2 deletions

View File

@@ -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