diff options
Diffstat (limited to 'apps/codecs/Tremor/Makefile')
-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 | ||