toolchain: build libstdc++ without exceptions, just in case

This commit is contained in:
apio 2022-11-09 12:09:56 +01:00
parent d1dea3f1d6
commit 46e4d37098

View File

@ -62,7 +62,7 @@ make install-target-libgcc | filter-lines "libgcc" "install"
echo Building libstdc++...
$LUNA_ROOT/tools/sync-libc.sh # libstdc++ needs libc to be built
make all-target-libstdc++v3 -j$(nproc) | filter-lines "libstdc++" "build"
make all-target-libstdc++v3 CXXFLAGS_FOR_TARGET="-fno-exceptions" -j$(nproc) | filter-lines "libstdc++" "build"
echo Installing libstdc++...