[all-commits] [llvm/llvm-project] 36bb13: [libc++] Use -nostdlib++ on GCC unconditionally (#...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Oct 13 11:54:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36bb134ac79c91129d6ea551953ce67ed776123d
      https://github.com/llvm/llvm-project/commit/36bb134ac79c91129d6ea551953ce67ed776123d
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M libcxx/CMakeLists.txt
    M libcxx/benchmarks/CMakeLists.txt
    M libcxx/cmake/config-ix.cmake

  Log Message:
  -----------
  [libc++] Use -nostdlib++ on GCC unconditionally (#68832)

We support GCC 13, which supports the flag. This allows simplifying the
CMake logic around the use of -nostdlib++. Note that there are other
places where we don't assume -nostdlib++ yet in the build, but this
patch is intentionally trying to be small because this part of our CMake
is pretty tricky.




More information about the All-commits mailing list