Skip to content

Commit 2a5ab41

Browse files
committed
add cross compiling gcc options
1 parent e5bf720 commit 2a5ab41

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dkppc/scripts/build-gcc.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ then
9797
--with-system-zlib\
9898
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 30" \
9999
$CROSS_PARAMS \
100+
$CROSS_GCC_PARAMS \
101+
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
100102
|| { echo "Error configuring gcc stage 1"; exit 1; }
101103
touch configured-gcc
102104
fi

0 commit comments

Comments
 (0)