From 6bcd73a2ff0f5e48a827fe13ac14c5e226e00db7 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Fri, 26 May 2023 20:24:02 +0200 Subject: [PATCH] Toolchain: Disable libstdc++ PCH compilation These are not useful for us, and unnecessarily waste time when building the toolchain. Even if we used libstdc++ more heavily, our use of uncommon, PCH-affecting flags and our frequent LibC header changes would make these ineligible for use anyways. --- Toolchain/BuildIt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 1f2f2e05100..d10a0e60354 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -295,6 +295,7 @@ pushd "$DIR/Build/$ARCH" --target="$TARGET" \ --with-sysroot="$SYSROOT" \ --disable-nls \ + --disable-libstdcxx-pch \ --enable-shared \ --enable-languages=c,c++ \ --enable-default-pie \