build: use gcc-ar / gcc-ranlib in preparation for link-time-optimization
Change-Id: If5fd9a8f15200fca9a89999605394f7527387a2b
This commit is contained in:
parent
2ff3425ab1
commit
2c984f3714
1 changed files with 2 additions and 10 deletions
12
tools/configure
vendored
12
tools/configure
vendored
|
@ -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-
|
||||
|
|
Loading…
Reference in a new issue