don't build libstdc++-v3 on darwin

This commit is contained in:
nakst 2022-02-03 08:38:06 +00:00
parent 8a9d52ea23
commit b4f88639da
1 changed files with 5 additions and 2 deletions

View File

@ -394,8 +394,11 @@ void PortGCC() {
// Build libstdc++.
// TODO Waiting on GCC 11.3 to do this for the port. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017.
assert SystemShellExecuteWithWorkingDirectory("bin/build-gcc", "make all-target-libstdc++-v3 -j %processorCount%");
assert SystemShellExecuteWithWorkingDirectory("bin/build-gcc", "make install-target-libstdc++-v3");
// TODO Work out why this sometimes hangs on Darwin.
if SystemGetHostName() != "Darwin" {
assert SystemShellExecuteWithWorkingDirectory("bin/build-gcc", "make all-target-libstdc++-v3 -j %processorCount%");
assert SystemShellExecuteWithWorkingDirectory("bin/build-gcc", "make install-target-libstdc++-v3");
}
}
// Copy license files.