BuildSystem: Compile cross gcc with optimizations

I guess because I now pass explicit CXXFLAGS, gcc did not add the
default optimization flags
This commit is contained in:
2026-08-11 18:26:06 +03:00
parent 895c586736
commit c915c064e8
+2 -1
View File
@@ -131,7 +131,8 @@ build_gcc () {
--enable-lto \
--disable-nls \
--enable-languages=c,c++ \
CXXFLAGS='-fno-char8_t'
CFLAGS='-O2' \
CXXFLAGS='-O2 -fno-char8_t'
XCFLAGS=""
if [ $BANAN_ARCH = "x86_64" ]; then