File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,11 @@ for TARGET in "mips64r5900el-ps2-elf"; do
6262 cd " build-$TARGET -stage1"
6363
6464 # # Configure the build.
65+ # # -fno-char8_t keeps u8"..." literals as `const char[]` so libcody builds
66+ # # under host compilers that default to C++20 or later (e.g. GCC 16).
6567 CFLAGS_FOR_TARGET=" $TARGET_CFLAGS " \
68+ CXXFLAGS=" -g -O2 -fno-char8_t" \
69+ CXXFLAGS_FOR_BUILD=" -g -O2 -fno-char8_t" \
6670 ../configure \
6771 --quiet \
6872 --prefix=" $PS2DEV /$TARGET_ALIAS " \
Original file line number Diff line number Diff line change @@ -65,8 +65,12 @@ for TARGET in "mips64r5900el-ps2-elf"; do
6565 cd " build-$TARGET -stage2"
6666
6767 # # Configure the build.
68+ # # -fno-char8_t keeps u8"..." literals as `const char[]` so libcody builds
69+ # # under host compilers that default to C++20 or later (e.g. GCC 16).
6870 CFLAGS_FOR_TARGET=" $TARGET_CFLAGS " \
6971 CXXFLAGS_FOR_TARGET=" $TARGET_CFLAGS " \
72+ CXXFLAGS=" -g -O2 -fno-char8_t" \
73+ CXXFLAGS_FOR_BUILD=" -g -O2 -fno-char8_t" \
7074 ../configure \
7175 --quiet \
7276 --prefix=" $PS2DEV /$TARGET_ALIAS " \
You can’t perform that action at this time.
0 commit comments