diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Support/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | llvm/lib/System/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | llvm/lib/VMCore/CMakeLists.txt | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt index f7e02c9bc0a..c9c862ce84a 100644 --- a/llvm/lib/Support/CMakeLists.txt +++ b/llvm/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/llvm/lib/System/CMakeLists.txt b/llvm/lib/System/CMakeLists.txt index 5c15f8e9eba..ac2830e80a0 100644 --- a/llvm/lib/System/CMakeLists.txt +++ b/llvm/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/llvm/lib/VMCore/CMakeLists.txt b/llvm/lib/VMCore/CMakeLists.txt index 1388c93cce3..0ff260f060a 100644 --- a/llvm/lib/VMCore/CMakeLists.txt +++ b/llvm/lib/VMCore/CMakeLists.txt @@ -1,3 +1,5 @@ +set(LLVM_REQUIRES_RTTI 1) + add_llvm_library(LLVMCore AsmWriter.cpp Attributes.cpp |

