From: Louis Dionne Date: Wed, 17 Apr 2019 14:58:59 +0000 (+0000) Subject: Explicitly say we don't define new/delete in libc++ during Apple stage1 bootstrap X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01406938407591e67a874872848dea7c092d2e59;p=clang 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 --- 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