summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-13 11:28:48 +0000
committerDave Chapman <dave@dchapman.com>2005-11-13 11:28:48 +0000
commit7944771772042d924a9779d9126837a01cc0ad36 (patch)
treef6df844bfd285cd89e43b10802512380199ee326 /tools/configure
parentc01775ff4177d491a79dc65403698c4f39350de1 (diff)
Force -mlong-calls for iPod builds. This issue still needs investigating as we do not want long-calls everywhere. The -ffunction-sections is also required to force gcc use long calls.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7841 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 38d95a71a0..ca2cec5d09 100755
--- a/tools/configure
+++ b/tools/configure
@@ -170,7 +170,7 @@ coldfirecc () {
arm7tdmicc () {
prefixtools arm-elf-
- GCCOPTS="$CCOPTS -mcpu=arm7tdmi"
+ GCCOPTS="$CCOPTS -mcpu=arm7tdmi -ffunction-sections -mlong-calls"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
}