X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSystem%2FCMakeLists.txt;h=ac2830e80a0730beec96d3069be40fcbe0b4d8d7;hb=c8aef4b2ea23f7da3668f35872ee5bd8df28bcc0;hp=2945e33d5b1cccf7faf49339492c8995849ac1af;hpb=e34887d5d02e8bd42b414fb17f69c35b8d13695d;p=oota-llvm.git diff --git a/lib/System/CMakeLists.txt b/lib/System/CMakeLists.txt index 2945e33d5b1..ac2830e80a0 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 @@ -12,10 +17,12 @@ add_llvm_library(LLVMSystem Process.cpp Program.cpp RWMutex.cpp + SearchForAddressOfSpecialSymbol.cpp Signals.cpp ThreadLocal.cpp Threading.cpp TimeValue.cpp + Valgrind.cpp Unix/Alarm.inc Unix/Host.inc Unix/Memory.inc @@ -40,7 +47,3 @@ add_llvm_library(LLVMSystem Win32/ThreadLocal.inc Win32/TimeValue.inc ) - -if( BUILD_SHARED_LIBS AND NOT WIN32 ) - target_link_libraries(LLVMSystem dl) -endif()