forked from len0rd/rockbox
Fix configure to not use -mlong-calls when configuring for EABI
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cd08122e4e
commit
c5bb1925eb
1 changed files with 6 additions and 6 deletions
12
tools/configure
vendored
12
tools/configure
vendored
|
@ -283,7 +283,7 @@ arm9tdmicc () {
|
|||
arm940tbecc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mbig-endian -mcpu=arm940t"
|
||||
if test "ARG_ARM_EABI" != "1"; then
|
||||
if test "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
@ -293,7 +293,7 @@ arm940tbecc () {
|
|||
arm940tcc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mcpu=arm940t"
|
||||
if test "ARG_ARM_EABI" != "1"; then
|
||||
if test "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
@ -303,7 +303,7 @@ arm940tcc () {
|
|||
arm946cc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mcpu=arm9e"
|
||||
if test "ARG_ARM_EABI" != "1"; then
|
||||
if test "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
@ -313,7 +313,7 @@ arm946cc () {
|
|||
arm926ejscc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mcpu=arm926ej-s"
|
||||
if test "ARG_ARM_EABI" != "1"; then
|
||||
if test "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
@ -323,7 +323,7 @@ arm926ejscc () {
|
|||
arm1136jfscc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mcpu=arm1136jf-s"
|
||||
if test "$modelname" != "gigabeats" -a "ARG_ARM_EABI" != "1"; then
|
||||
if test "$modelname" != "gigabeats" -a "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
@ -333,7 +333,7 @@ arm1136jfscc () {
|
|||
arm1176jzscc () {
|
||||
findarmgcc
|
||||
GCCOPTS="$CCOPTS -mcpu=arm1176jz-s"
|
||||
if test "ARG_ARM_EABI" != "1"; then
|
||||
if test "$ARG_ARM_EABI" != "1"; then
|
||||
GCCOPTS="$GCCOPTS -mlong-calls"
|
||||
fi
|
||||
GCCOPTIMIZE="-fomit-frame-pointer"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue