summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2012-10-10 20:50:36 +0000
committerSean Silva <silvas@purdue.edu>2012-10-10 20:50:36 +0000
commitd2139c4e7aaeb03358638b14a589c0dc25521435 (patch)
tree1eb418192c56fa7dd091128f8c4fd33f62c9d19b /lib/Support
parentef31271dc83ffb57e73c048f7c758e89b15d3f9a (diff)
downloadllvm-d2139c4e7aaeb03358638b14a589c0dc25521435.tar.gz
llvm-d2139c4e7aaeb03358638b14a589c0dc25521435.tar.bz2
llvm-d2139c4e7aaeb03358638b14a589c0dc25521435.tar.xz
Revert r165652: "Remove unnecessary RTTI from the build."
... Apparently the RTTI is still necessary for some reason. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165654 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/CMakeLists.txt2
-rw-r--r--lib/Support/Makefile3
2 files changed, 5 insertions, 0 deletions
diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt
index 3b31785e09..83baf60d04 100644
--- a/lib/Support/CMakeLists.txt
+++ b/lib/Support/CMakeLists.txt
@@ -1,3 +1,5 @@
+## FIXME: This only requires RTTI because tblgen uses it. Fix that.
+set(LLVM_REQUIRES_RTTI 1)
if( MINGW )
set(LLVM_REQUIRES_EH 1)
endif()
diff --git a/lib/Support/Makefile b/lib/Support/Makefile
index 4a2185d589..d68e500ca5 100644
--- a/lib/Support/Makefile
+++ b/lib/Support/Makefile
@@ -11,6 +11,9 @@ LEVEL = ../..
LIBRARYNAME = LLVMSupport
BUILD_ARCHIVE = 1
+## FIXME: This only requires RTTI because tblgen uses it. Fix that.
+REQUIRES_RTTI = 1
+
EXTRA_DIST = Unix Win32 README.txt
include $(LEVEL)/Makefile.common