summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-10-17 02:26:16 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-10-17 02:26:16 +0000
commit889c1e7d80958377f1e2871d5fea7ddd785130b6 (patch)
tree204822f6a1b0a0f8e97c2915af8cfdcbf5a4f63c /llvm/lib/System
parentd265b3fcfe173e6461d11705dd29e2afb1b834b7 (diff)
downloadbcm5719-llvm-889c1e7d80958377f1e2871d5fea7ddd785130b6.tar.gz
bcm5719-llvm-889c1e7d80958377f1e2871d5fea7ddd785130b6.zip
Build with RTTI and exceptions disabled. Only in GCC for now.
llvm-svn: 116682
Diffstat (limited to 'llvm/lib/System')
-rw-r--r--llvm/lib/System/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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
OpenPOWER on IntegriCloud