[libcxx-commits] [libcxx] 609b95c - [libc++] Remove CMake workaround for the discontinued Projects build

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 28 08:11:12 PST 2022


Author: Louis Dionne
Date: 2022-11-28T11:10:52-05:00
New Revision: 609b95cea16ea18330ca4f4ec2edb60114cc69cf

URL: https://github.com/llvm/llvm-project/commit/609b95cea16ea18330ca4f4ec2edb60114cc69cf
DIFF: https://github.com/llvm/llvm-project/commit/609b95cea16ea18330ca4f4ec2edb60114cc69cf.diff

LOG: [libc++] Remove CMake workaround for the discontinued Projects build

Differential Revision: https://reviews.llvm.org/D138801

Added: 
    

Modified: 
    libcxx/CMakeLists.txt

Removed: 
    


################################################################################
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


        


More information about the libcxx-commits mailing list