mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-19 11:46:45 +00:00
[runtimes] Do not force -stdlib=libc++ on Apple platforms
It is pointless to specify -stdlib=libc++ on Apple platforms since that is the default anyway. Differential Revision: https://reviews.llvm.org/D114283
This commit is contained in:
parent
a62b60167d
commit
774f7832fb
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user