[libcxx-commits] [PATCH] D58084: [CMake] Avoid passing -rtlib=compiler-rt when using compiler-rt

Petr Hosek via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 11 17:35:07 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL353786: [CMake] Avoid passing -rtlib=compiler-rt when using compiler-rt (authored by phosek, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D58084?vs=186359&id=186378#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58084/new/

https://reviews.llvm.org/D58084

Files:
  libcxx/trunk/CMakeLists.txt
  libcxxabi/trunk/CMakeLists.txt


Index: libcxx/trunk/CMakeLists.txt
===================================================================
--- libcxx/trunk/CMakeLists.txt
+++ libcxx/trunk/CMakeLists.txt
@@ -485,10 +485,6 @@
 # Configure compiler.
 include(config-ix)
 
-if (LIBCXX_USE_COMPILER_RT)
-  list(APPEND LIBCXX_LINK_FLAGS "-rtlib=compiler-rt")
-endif()
-
 # Configure coverage options.
 if (LIBCXX_GENERATE_COVERAGE)
   include(CodeCoverage)
Index: libcxxabi/trunk/CMakeLists.txt
===================================================================
--- libcxxabi/trunk/CMakeLists.txt
+++ libcxxabi/trunk/CMakeLists.txt
@@ -262,10 +262,6 @@
   string(REPLACE "-stdlib=libstdc++" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
 endif()
 
-if (LIBCXXABI_USE_COMPILER_RT)
-  list(APPEND LIBCXXABI_LINK_FLAGS "-rtlib=compiler-rt")
-endif()
-
 # Let the library headers know they are currently being used to build the
 # library.
 add_definitions(-D_LIBCXXABI_BUILDING_LIBRARY)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58084.186378.patch
Type: text/x-patch
Size: 938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190212/fadcaa49/attachment-0001.bin>


More information about the libcxx-commits mailing list