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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user