]> granicus.if.org Git - clang/commitdiff
Explicitly say we don't define new/delete in libc++ during Apple stage1 bootstrap
authorLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 14:58:59 +0000 (14:58 +0000)
committerLouis Dionne <ldionne@apple.com>
Wed, 17 Apr 2019 14:58:59 +0000 (14:58 +0000)
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

cmake/caches/Apple-stage1.cmake

index 518088801318a6ee1c21c8ee4a1966656119e12f..4b11342086a5b1e2917384a5613863ebc59130a5 100644 (file)
@@ -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