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 D109719
[runtimes] Check whether -nostdinc++ and -nostdlib++ are supported mstorsjo on Sep 13 2021, 1:07 PM. Authored by
Details
Don't blindly assume they're supported - GCC doesn't support -nostdlib++. The llvm-project/runtimes directory is supposed to allow building the
Diff Detail
Unit Tests
Event TimelineComment Actions Reorder the checks to let -nostdlib++ take effect first, as it affects whether other checks succeed or not. Comment Actions Reuploading with a dummy change under libcxx, to trigger rerunning the libcxx premerge tests with this change, will remove that before pushing. |