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:
+2
-1
@@ -131,7 +131,8 @@ build_gcc () {
|
|||||||
--enable-lto \
|
--enable-lto \
|
||||||
--disable-nls \
|
--disable-nls \
|
||||||
--enable-languages=c,c++ \
|
--enable-languages=c,c++ \
|
||||||
CXXFLAGS='-fno-char8_t'
|
CFLAGS='-O2' \
|
||||||
|
CXXFLAGS='-O2 -fno-char8_t'
|
||||||
|
|
||||||
XCFLAGS=""
|
XCFLAGS=""
|
||||||
if [ $BANAN_ARCH = "x86_64" ]; then
|
if [ $BANAN_ARCH = "x86_64" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user