From 2c984f3714067a38980dae51d1cb7d66d49f84f8 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 8 Jul 2021 18:53:27 -0400 Subject: build: use gcc-ar / gcc-ranlib in preparation for link-time-optimization Change-Id: If5fd9a8f15200fca9a89999605394f7527387a2b --- tools/configure | 12 ++---------- 1 file 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- -- cgit v1.2.3