summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-08 18:53:27 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-08 19:53:05 -0400
commit2c984f3714067a38980dae51d1cb7d66d49f84f8 (patch)
treef8d29099b4f33211c8df4fd92623d8a71756678f
parent2ff3425ab1685a1445cc330eca15a78025c1903a (diff)
downloadrockbox-2c984f3714067a38980dae51d1cb7d66d49f84f8.tar.gz
rockbox-2c984f3714067a38980dae51d1cb7d66d49f84f8.zip
build: use gcc-ar / gcc-ranlib in preparation for link-time-optimization
Change-Id: If5fd9a8f15200fca9a89999605394f7527387a2b
-rwxr-xr-xtools/configure12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/configure b/tools/configure
index 5a08ef649b..180dcc0e60 100755
--- a/tools/configure
+++ b/tools/configure
@@ -63,9 +63,9 @@ prefixtools () {
WINDRES=${prefix}windres
DLLTOOL=${prefix}dlltool
DLLWRAP=${prefix}dllwrap
- RANLIB=${prefix}ranlib
+ RANLIB=${prefix}gcc-ranlib
LD=${prefix}ld
- AR=${prefix}ar
+ AR=${prefix}gcc-ar
AS=${prefix}as
OC=${prefix}objcopy
}
@@ -249,7 +249,6 @@ EOF
}
simcc () {
-
# default tool setup for native building
prefixtools "$CROSS_COMPILE"
ARG_ARM_THUMB=0 # can't use thumb in native builds
@@ -510,13 +509,6 @@ EOF
# the gcc version should most likely match what versions we build with
# rockboxdev.sh
#
-calmrisccc () {
- prefixtools calmrisc16-unknown-elf-
- GCCOPTS="-Wl\,--no-check-sections $CCOPTS"
- GCCOPTIMIZE="-fomit-frame-pointer"
- endian="big"
- gccchoice="4.9.4"
-}
coldfirecc () {
prefixtools m68k-elf-