From a85793fc54a0079f5483d5a5c6c60b7d17ca688c Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Fri, 8 Jun 2007 22:51:39 +0000 Subject: 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 --- apps/codecs/Tremor/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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} -- cgit v1.2.3