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.

llvm-svn: 358582

clang/cmake/caches/Apple-stage1.cmake

index 5180888..4b11342 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