[all-commits] [llvm/llvm-project] 029bfd: [libc] Replace -nostdlib++ flag when building with...

lntue via All-commits all-commits at lists.llvm.org
Mon Jan 22 16:27:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 029bfd6329aee0b60761998986dadba38e1de6f3
      https://github.com/llvm/llvm-project/commit/029bfd6329aee0b60761998986dadba38e1de6f3
  Author: lntue <35648136+lntue at users.noreply.github.com>
  Date:   2024-01-22 (Mon, 22 Jan 2024)

  Changed paths:
    M libc/cmake/modules/CheckCompilerFeatures.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/UnitTest/HermeticTestUtils.cpp

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

`-nostdlib++` is a clang-only flag. Replacing it with `-nostdlib` when
building with gcc.




More information about the All-commits mailing list