Skip to content

Commit 491ff04

Browse files
committed
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. llvm-svn: 358582
1 parent 20d52e3 commit 491ff04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/cmake/caches/Apple-stage1.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
3333
set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
3434
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
3535

36+
set(LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS OFF CACHE BOOL "")
37+
set(LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS ON CACHE BOOL "")
38+
3639
set(CLANG_BOOTSTRAP_TARGETS
3740
generate-order-file
3841
check-all

0 commit comments

Comments
 (0)