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
This commit is contained in:
2026-06-07 03:18:30 +03:00
parent 98fd86477a
commit e19414a64e

View File

@@ -130,7 +130,8 @@ build_gcc () {
--enable-shared \ --enable-shared \
--enable-lto \ --enable-lto \
--disable-nls \ --disable-nls \
--enable-languages=c,c++ --enable-languages=c,c++ \
CXXFLAGS='-fno-char8_t'
XCFLAGS="" XCFLAGS=""
if [ $BANAN_ARCH = "x86_64" ]; then if [ $BANAN_ARCH = "x86_64" ]; then