From 609b95cea16ea18330ca4f4ec2edb60114cc69cf Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Mon, 28 Nov 2022 08:52:13 -0500 Subject: [PATCH] [libc++] Remove CMake workaround for the discontinued Projects build Differential Revision: https://reviews.llvm.org/D138801 --- libcxx/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libcxx/CMakeLists.txt b/libcxx/CMakeLists.txt index ba1651265ccf..454caedcdf3f 100644 --- a/libcxx/CMakeLists.txt +++ b/libcxx/CMakeLists.txt @@ -494,12 +494,6 @@ endif() include(HandleLibCXXABI) # Setup the ABI library flags -# Remove flags that may have snuck in. -# TODO: This shouldn't be necessary anymore since we don't support the Project -# build anymore, so the rest of LLVM can't pollute our flags. -remove_flags(-DNDEBUG -UNDEBUG -D_DEBUG -lc++abi) -remove_flags(--stdlib=libc++ -stdlib=libc++ --stdlib=libstdc++ -stdlib=libstdc++) - # FIXME: Remove all debug flags and flags that change which Windows # default libraries are linked. Currently we only support linking the # non-debug DLLs