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

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Mon Jan 22 14:57:36 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)
----------------
nickdesaulniers wrote:

> can wait for you to merge https://github.com/llvm/llvm-project/pull/78776 first.

done

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


More information about the libc-commits mailing list