diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Support/CMakeLists.txt | 3 | ||||
-rw-r--r-- | lib/System/CMakeLists.txt | 5 | ||||
-rw-r--r-- | lib/VMCore/CMakeLists.txt | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/lib/Support/CMakeLists.txt b/lib/Support/CMakeLists.txt index f7e02c9..c9c862c 100644 --- a/lib/Support/CMakeLists.txt +++ b/lib/Support/CMakeLists.txt @@ -1,3 +1,6 @@ +## FIXME: This only requires RTTI because tblgen uses it. Fix that. +set(LLVM_REQUIRES_RTTI 1) + add_llvm_library(LLVMSupport APFloat.cpp APInt.cpp diff --git a/lib/System/CMakeLists.txt b/lib/System/CMakeLists.txt index 5c15f8e..ac2830e 100644 --- a/lib/System/CMakeLists.txt +++ b/lib/System/CMakeLists.txt @@ -1,3 +1,8 @@ +set(LLVM_REQUIRES_RTTI 1) +if( MINGW ) + set(LLVM_REQUIRES_EH 1) +endif() + add_llvm_library(LLVMSystem Alarm.cpp Atomic.cpp diff --git a/lib/VMCore/CMakeLists.txt b/lib/VMCore/CMakeLists.txt index 1388c93..0ff260f 100644 --- a/lib/VMCore/CMakeLists.txt +++ b/lib/VMCore/CMakeLists.txt @@ -1,3 +1,5 @@ +set(LLVM_REQUIRES_RTTI 1) + add_llvm_library(LLVMCore AsmWriter.cpp Attributes.cpp |