aboutsummaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-08-11 12:29:59 +0200
committerMarco Bubke <marco.bubke@qt.io>2016-08-11 11:32:49 +0000
commitc5da4a3df8287d485e940e018c921586856ea504 (patch)
tree01e3caabb8f6fae3eff5112272a4029bd5d0a1f0 /src/shared
parentde2eedf5990741a11b965cd174e252694b5cadea (diff)
Clang: Disable RTTI for refactoring backend
LLVM is normally not compiled with RTTI so we get link errors. We should use "llvm-config --cxxflags" but before we can use it we should be sure that we don't break something. Change-Id: If45afcd625273230960a2c2065877f2512a53209 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/clang/clang_installation.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri
index d9279155b3..f34bf3fcf8 100644
--- a/src/shared/clang/clang_installation.pri
+++ b/src/shared/clang/clang_installation.pri
@@ -99,4 +99,4 @@ isEmpty(LLVM_VERSION): error("Cannot determine clang version at $$LLVM_INSTALL_D
error("LLVM/Clang version >= 3.8.0 required, version provided: $$LLVM_VERSION")
}
-unix:LLVM_CXXFLAGS = -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
+unix:LLVM_CXXFLAGS = -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS