[PATCH] D43458: Fix CMake/MSVC when compiler-rt and llvm are built separately
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 19 11:25:25 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL327876: Fix CMake/MSVC when compiler-rt and llvm are built separately (authored by vitalybuka, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D43458?vs=134897&id=138968#toc
Repository:
rL LLVM
https://reviews.llvm.org/D43458
Files:
compiler-rt/trunk/CMakeLists.txt
Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -339,7 +339,7 @@
# it, but CMake doesn't seem to have a way to set linker flags for
# individual static libraries, so we enable the suppression flag for
# the whole compiler-rt project.
- append("/IGNORE:4221" CMAKE_STATIC_LINKER_FLAGS)
+ set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /IGNORE:4221")
endif()
add_subdirectory(include)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43458.138968.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180319/9861fca3/attachment.bin>
More information about the llvm-commits
mailing list