Skip to content

Commit

Permalink
[runtimes] Do not force -stdlib=libc++ on Apple platforms
Browse files Browse the repository at this point in the history
It is pointless to specify -stdlib=libc++ on Apple platforms since
that is the default anyway.

Differential Revision: https://reviews.llvm.org/D114283
  • Loading branch information
ldionne committed Nov 22, 2021
1 parent a62b601 commit 774f783
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions runtimes/CMakeLists.txt
Expand Up @@ -81,10 +81,6 @@ set(LLVM_CMAKE_DIR ${LLVM_MAIN_SRC_DIR}/cmake/modules)
# 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)
Expand Down

0 comments on commit 774f783

Please sign in to comment.