[all-commits] [llvm/llvm-project] 125e8e: [runtimes] Check whether -nostdinc++ and -nostdlib...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Sep 14 03:43:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 125e8ef10ba468d41b27bf9c7569c1a0520d1ab9
      https://github.com/llvm/llvm-project/commit/125e8ef10ba468d41b27bf9c7569c1a0520d1ab9
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-09-14 (Tue, 14 Sep 2021)

  Changed paths:
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [runtimes] Check whether -nostdinc++ and -nostdlib++ are supported

Don't blindly assume they're supported - GCC doesn't support -nostdlib++.

The llvm-project/runtimes directory is supposed to allow building the
runtimes standalone from a newly built Clang, and thus should allow
building with other compilers too.

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




More information about the All-commits mailing list