From 46e4d370985cd4aec2979f75a214d45111ea8d0b Mon Sep 17 00:00:00 2001 From: apio Date: Wed, 9 Nov 2022 12:09:56 +0100 Subject: [PATCH] toolchain: build libstdc++ without exceptions, just in case --- tools/setup-gcc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/setup-gcc.sh b/tools/setup-gcc.sh index 6fcf0056..19769bcb 100755 --- a/tools/setup-gcc.sh +++ b/tools/setup-gcc.sh @@ -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++...