[libc-commits] [libc] [libc] Replace -nostdlib++ flag when building with gcc and add placement new operator to HermeticTestUtils.cpp. (PR #78906)

via libc-commits libc-commits at lists.llvm.org
Mon Jan 22 14:48:32 PST 2024


================
@@ -57,3 +57,5 @@ foreach(feature IN LISTS ALL_COMPILER_FEATURES)
 endforeach()
 
 message(STATUS "Compiler features available: ${AVAILABLE_COMPILER_FEATURES}")
+
+check_cxx_compiler_flag("-nostdlib++" LIBC_COMPILER_SUPPORT_NOSTDLIBPP)
----------------
lntue wrote:

Updated the flag name.  I can wait for you to merge #78776 first.

https://github.com/llvm/llvm-project/pull/78906


More information about the libc-commits mailing list