projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GetDLLSuffix: Remove the leading dot from LTDL_SHLIB_EXT.
[oota-llvm.git]
/
lib
/
System
/
CMakeLists.txt
diff --git
a/lib/System/CMakeLists.txt
b/lib/System/CMakeLists.txt
index a56a1f78bb72a88ad0ba6ea9675a90d4361ae438..ac2830e80a0730beec96d3069be40fcbe0b4d8d7 100644
(file)
--- 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
add_llvm_library(LLVMSystem
Alarm.cpp
Atomic.cpp
@@
-12,10
+17,12
@@
add_llvm_library(LLVMSystem
Process.cpp
Program.cpp
RWMutex.cpp
Process.cpp
Program.cpp
RWMutex.cpp
+ SearchForAddressOfSpecialSymbol.cpp
Signals.cpp
ThreadLocal.cpp
Threading.cpp
TimeValue.cpp
Signals.cpp
ThreadLocal.cpp
Threading.cpp
TimeValue.cpp
+ Valgrind.cpp
Unix/Alarm.inc
Unix/Host.inc
Unix/Memory.inc
Unix/Alarm.inc
Unix/Host.inc
Unix/Memory.inc
@@
-40,7
+47,3
@@
add_llvm_library(LLVMSystem
Win32/ThreadLocal.inc
Win32/TimeValue.inc
)
Win32/ThreadLocal.inc
Win32/TimeValue.inc
)
-
-if( BUILD_SHARED_LIBS AND NOT WIN32 )
- target_link_libraries(LLVMSystem ${CMAKE_DL_LIBS})
-endif()