summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-04-17 14:58:59 +0000
committerLouis Dionne <ldionne@apple.com>2019-04-17 14:58:59 +0000
commit01406938407591e67a874872848dea7c092d2e59 (patch)
tree6820f95797e52efc7b7dc26d40adc47cfeeac76c /cmake
parent184aeeeb9bfebf2cf4d583a99e9214734c6e2e07 (diff)
downloadclang-01406938407591e67a874872848dea7c092d2e59.tar.gz
Explicitly say we don't define new/delete in libc++ during Apple stage1 bootstrap
This is not necessary in stage2 because we don't even build libc++.dylib there. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358582 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/caches/Apple-stage1.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/caches/Apple-stage1.cmake b/cmake/caches/Apple-stage1.cmake
index 5180888013..4b11342086 100644
--- a/cmake/caches/Apple-stage1.cmake
+++ b/cmake/caches/Apple-stage1.cmake
@@ -33,6 +33,9 @@ set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
+set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS OFF CACHE BOOL "")
+set(LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "")
+
set(CLANG_BOOTSTRAP_TARGETS
generate-order-file
check-all