summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-10-29 19:25:20 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-10-29 19:25:20 +0000
commitd98e197386cca8585acd7189ec0460b3e0eed0f6 (patch)
tree6cddddd559275e5f8d7b765a022135ceed5e5108
parentc1de000e2260e4c75f180d8a6dc526bef41991c5 (diff)
downloadbcm5719-llvm-d98e197386cca8585acd7189ec0460b3e0eed0f6.tar.gz
bcm5719-llvm-d98e197386cca8585acd7189ec0460b3e0eed0f6.zip
Reverting r220517; it seems this broke check-asan.
llvm-svn: 220869
-rw-r--r--compiler-rt/cmake/Modules/AddCompilerRT.cmake8
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
index 95eacd0b9bb..aafccd47ddc 100644
--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
@@ -52,12 +52,8 @@ macro(add_compiler_rt_runtime name arch type)
# Setup compile flags and definitions.
set_target_compile_flags(${name}
${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS})
- if (NOT MSVC)
- # We do not want any custom link flags set on MSVC; especially not the
- # compiler flags, as with other compilers.
- set_target_link_flags(${name}
- ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS})
- endif()
+ set_target_link_flags(${name}
+ ${TARGET_${arch}_CFLAGS} ${LIB_CFLAGS})
set_property(TARGET ${name} APPEND PROPERTY
COMPILE_DEFINITIONS ${LIB_DEFS})
# Setup correct output directory in the build tree.
OpenPOWER on IntegriCloud