add cross compiling gcc options

This commit is contained in:
Dave Murphy
2018-05-11 19:38:38 +01:00
parent e5bf7206ee
commit 2a5ab41670

View File

@@ -97,6 +97,8 @@ then
--with-system-zlib\
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 30" \
$CROSS_PARAMS \
$CROSS_GCC_PARAMS \
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|| { echo "Error configuring gcc stage 1"; exit 1; }
touch configured-gcc
fi