summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 07:08:57 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 07:08:57 +0000
commitc21e7e7f622d977e48c0ff3ef595a5c6432bb8f1 (patch)
tree979ec265ad110d56b149d19dce3c0f3bf070d2fd
parent86425855fc71497ff6db0b6c020f194291c086f0 (diff)
No instruction scheduling on the coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5201 a1c6a512-1295-4272-9138-f99709370657
-rwxr-xr-xtools/configure4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index e636608848..e091ea0cc9 100755
--- a/tools/configure
+++ b/tools/configure
@@ -26,6 +26,7 @@ shcc () {
AS=sh-elf-as
OC=sh-elf-objcopy
GCCOPTS="$CCOPTS -m1"
+ GCCOPTIMIZE="-fomit-frame-pointer -fschedule-insns"
}
coldfirecc () {
@@ -35,6 +36,7 @@ coldfirecc () {
AS=m68k-elf-as
OC=m68k-elf-objcopy
GCCOPTS="$CCOPTS -m5200"
+ GCCOPTIMIZE="-fomit-frame-pointer"
}
whichsim () {
@@ -385,7 +387,7 @@ if [ -z "$debug" ]; then
*)
debug=""
echo "Normal build selected"
- GCCOPTS="$GCCOPTS -fomit-frame-pointer -fschedule-insns"
+ GCCOPTS="$GCCOPTS $GCCOPTIMIZE"
;;
esac