From 2fba6d13674a5a405a328aa93ab3280f54c28d4d Mon Sep 17 00:00:00 2001 From: theseven Date: Sun, 21 Feb 2010 18:41:33 +0000 Subject: [PATCH] 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 --- tools/configure | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/configure b/tools/configure index fcdd2dd23..1ed4d22c7 100755 --- a/tools/configure +++ b/tools/configure @@ -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" -- 2.11.4.GIT