diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-21 22:53:51 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2011-03-21 22:53:51 +0000 |
commit | 89234e1e28a150138ea46dd3bee7c44d3dc0e4fe (patch) | |
tree | f1164730bccb787699778e898a3cbb09c4aaed00 /CMakeLists.txt | |
parent | 6e56331ed99e5b96de940dfdc53e438eef521a2e (diff) | |
download | external_llvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.zip external_llvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.tar.gz external_llvm-89234e1e28a150138ea46dd3bee7c44d3dc0e4fe.tar.bz2 |
Removed workaround for unspecified build problem on MinGW.
Tested that MinGW/MSYS builds fine without that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128033 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e7e597..9474ca8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -185,15 +185,6 @@ include(AddLLVM) include(TableGen) if( MINGW ) - get_system_libs(LLVM_SYSTEM_LIBS_LIST) - foreach(l ${LLVM_SYSTEM_LIBS_LIST}) - set(LLVM_SYSTEM_LIBS "${LLVM_SYSTEM_LIBS} -l${l}") - endforeach() - set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS}") - set(CMAKE_C_STANDARD_LIBRARIES "${CMAKE_C_STANDARD_LIBRARIES}${LLVM_SYSTEM_LIBS}") -endif() - -if( MINGW ) # People report that -O3 is unreliable on MinGW. The traditional # build also uses -O2 for that reason: llvm_replace_compiler_option(CMAKE_CXX_FLAGS_RELEASE "-O3" "-O2") |