1
0
Fork 0
forked from len0rd/rockbox

Revert "Toolchains: Update to GCC 10.5.0"

This reverts commit 94712b34d4.
This commit is contained in:
Solomon Peachy 2025-08-20 16:09:54 -04:00
parent 84504c7471
commit a60c09c24c
13 changed files with 196 additions and 254 deletions

17
tools/configure vendored
View file

@ -138,7 +138,7 @@ app_set_lcd_size () {
findarmgcc() {
prefixtools arm-elf-eabi-
gccchoice="10.5.0"
gccchoice="4.9.4"
}
# scan the $PATH for the given command
@ -548,7 +548,7 @@ coldfirecc () {
GCCOPTS="$CCOPTS -mcpu=5249 -malign-int -mstrict-align"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="big"
gccchoice="10.5.0"
gccchoice="4.9.4"
}
arm7tdmicc () {
@ -628,7 +628,7 @@ mipselcc () {
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="10.5.0"
gccchoice="4.9.4"
}
mipsr2elcc () {
@ -638,7 +638,7 @@ mipsr2elcc () {
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="10.5.0"
gccchoice="4.9.4"
}
maemocc () {
@ -776,7 +776,6 @@ arm1176jzlinuxcc () {
GCCOPTIMIZE=''
LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS"
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs" # warn about undefined symbols in shared libraries
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs -Wl,-z,noexecstack" # Stack is not executable
SHARED_LDFLAGS="-shared"
SHARED_CFLAGS=''
endian="little"
@ -786,7 +785,7 @@ arm1176jzlinuxcc () {
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
# Set up compiler
gccchoice="10.5.0"
gccchoice="4.9.4"
prefixtools "arm-rockbox-linux-gnueabi-"
}
@ -966,7 +965,7 @@ mipsellinuxcc () {
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
# Set up compiler
gccchoice="10.5.0"
gccchoice="4.9.4"
prefixtools "mipsel-rockbox-linux-gnu-"
}
@ -4697,10 +4696,6 @@ else
ldnum=`$LD --version | sed -n '1p' | sed -e 's/.* \([0-9]*\)\.\([0-9]*\).*/\1\2/'`
fi
if test "$ldnum" -ge "239"; then
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,--no-warn-rwx-segments"
fi
if test "$ldnum" -ge "227"; then
have_nocrossrefs_to="#define HAVE_NOCROSSREFS_TO"
else