[CMake] Fix PR14200, llvm-config output misses -fno-rtti
authorChris Bieneman <beanz@apple.com>
Fri, 14 Aug 2015 16:20:31 +0000 (16:20 +0000)
committerChris Bieneman <beanz@apple.com>
Fri, 14 Aug 2015 16:20:31 +0000 (16:20 +0000)
commit0a8f7a16c005e1f2ffd4ca83aeb751305a5cbaeb
tree4e80b2ffdd590cdb1ffc811b4887c71e46fd0a90
parentea619d042f44c302c891240d4cd07018841cac20
[CMake] Fix PR14200, llvm-config output misses -fno-rtti

This change adds RTTI and Exception flags to llvm-config's cxxflags. This solution is a minimal patch to solve the issue, and is recommended for the 3.7 release branch. Tom Stellard's outstanding work is the longer term solution.

Patch By: David Wiberg

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245064 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-config/CMakeLists.txt