From e19414a64e33da608ec46825b389b0fae059a5fd Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 7 Jun 2026 03:18:30 +0300 Subject: [PATCH] BuildSystem: Fix GCC compilation with new host GCC Newer GCCs fail to compile GCC 15.2.0 because of how u8"" literals are handled. This can be bypassed by compiling with -fno-char8_t --- toolchain/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/build.sh b/toolchain/build.sh index fd8cf90d..121fca6e 100755 --- a/toolchain/build.sh +++ b/toolchain/build.sh @@ -130,7 +130,8 @@ build_gcc () { --enable-shared \ --enable-lto \ --disable-nls \ - --enable-languages=c,c++ + --enable-languages=c,c++ \ + CXXFLAGS='-fno-char8_t' XCFLAGS="" if [ $BANAN_ARCH = "x86_64" ]; then