summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-06-08 22:51:39 +0000
committerNils Wallménius <nils@rockbox.org>2007-06-08 22:51:39 +0000
commita85793fc54a0079f5483d5a5c6c60b7d17ca688c (patch)
tree2bc614af348a0c121a647c1407486eb40514ea04 /apps/codecs
parent7b1d90a851ec2bad8fe1327b2594f2de9a33cc4a (diff)
Build Tremor with -O3 for coldfire targets, gives a slight increase in speed, remember to make clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/Tremor/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/codecs/Tremor/Makefile b/apps/codecs/Tremor/Makefile
index c3c4ae7cdb..1c40e56a26 100644
--- a/apps/codecs/Tremor/Makefile
+++ b/apps/codecs/Tremor/Makefile
@@ -14,7 +14,13 @@ ifdef APPEXTRA
INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA)))
endif
-TREMOROPTS = -O2
+# Tremor is slightly faster on coldfire with -O3
+ifeq ($(CPU),coldfire)
+ TREMOROPTS = -O3
+else
+ TREMOROPTS = -O2
+endif
+
CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TREMOROPTS) $(TARGET) \
$(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS}