From fb060b2a51a93421a9cb1a34642d22d693cf5f5b Mon Sep 17 00:00:00 2001 From: Ziemas Date: Mon, 15 Jan 2024 02:09:06 +0100 Subject: [PATCH] Enable C++ --- scripts/002-gcc-stage1.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/002-gcc-stage1.sh b/scripts/002-gcc-stage1.sh index 89cb14f..9342726 100755 --- a/scripts/002-gcc-stage1.sh +++ b/scripts/002-gcc-stage1.sh @@ -64,7 +64,7 @@ for TARGET in "mipsel-ps2-irx" "mipsel-ps2-elf"; do --quiet \ --prefix="$PS2DEV/$TARGET_ALIAS" \ --target="$TARGET" \ - --enable-languages="c" \ + --enable-languages="c,c++" \ --with-float=soft \ --with-headers=no \ --without-newlib \ @@ -86,6 +86,7 @@ for TARGET in "mipsel-ps2-irx" "mipsel-ps2-elf"; do --disable-target-zlib \ --disable-nls \ --disable-tls \ + --disable-libstdcxx \ MAKEINFO=missing \ $TARG_XTRA_OPTS