diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-06-08 22:51:39 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-06-08 22:51:39 +0000 |
commit | a85793fc54a0079f5483d5a5c6c60b7d17ca688c (patch) | |
tree | 2bc614af348a0c121a647c1407486eb40514ea04 /apps | |
parent | 7b1d90a851ec2bad8fe1327b2594f2de9a33cc4a (diff) | |
download | rockbox-a85793fc54a0079f5483d5a5c6c60b7d17ca688c.tar.gz rockbox-a85793fc54a0079f5483d5a5c6c60b7d17ca688c.zip |
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')
-rw-r--r-- | apps/codecs/Tremor/Makefile | 8 |
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 | |||
14 | INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) | 14 | INCLUDES += $(patsubst %,-I$(APPSDIR)/%,$(subst :, ,$(APPEXTRA))) |
15 | endif | 15 | endif |
16 | 16 | ||
17 | TREMOROPTS = -O2 | 17 | # Tremor is slightly faster on coldfire with -O3 |
18 | ifeq ($(CPU),coldfire) | ||
19 | TREMOROPTS = -O3 | ||
20 | else | ||
21 | TREMOROPTS = -O2 | ||
22 | endif | ||
23 | |||
18 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TREMOROPTS) $(TARGET) \ | 24 | CFLAGS = $(INCLUDES) $(GCCOPTS) $(TARGET_INC) $(TREMOROPTS) $(TARGET) \ |
19 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} | 25 | $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE} ${PROFILE_OPTS} |
20 | 26 | ||