[libcxx-commits] [PATCH] D114283: [runtimes] Do not force -stdlib=libc++ on Apple platforms

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 19 14:00:03 PST 2021


ldionne created this revision.
ldionne added reviewers: mstorsjo, phosek.
Herald added a subscriber: mgorny.
ldionne requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.

It is pointless to specify -stdlib=libc++ on Apple platforms since
that is the default anyway.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114283

Files:
  runtimes/CMakeLists.txt


Index: runtimes/CMakeLists.txt
===================================================================
--- runtimes/CMakeLists.txt
+++ runtimes/CMakeLists.txt
@@ -81,10 +81,6 @@
 # This variable is used by individual runtimes to locate LLVM files.
 set(LLVM_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../llvm)
 
-if(APPLE)
-  set(LLVM_ENABLE_LIBCXX ON CACHE BOOL "")
-endif()
-
 include(CheckLibraryExists)
 include(CheckCCompilerFlag)
 include(CheckCXXCompilerFlag)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114283.388621.patch
Type: text/x-patch
Size: 453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211119/ac5e4a71/attachment-0001.bin>


More information about the libcxx-commits mailing list