1
0
Fork 0
forked from len0rd/rockbox

Switch coldfire builds over to new toolchain using gcc 4.5.2 and binutils 2.20.1

Retune codec compiler optimizations with new compiler. Overall speedup with aac and flac getting big speedups.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29042 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2011-01-12 22:28:43 +00:00
parent 4ca7c9c2c6
commit c8535f27d1
11 changed files with 28 additions and 29 deletions

View file

@ -19,11 +19,7 @@ $(MUSEPACKLIB): $(MUSEPACKLIB_OBJ)
# libmusepack is faster on ARM-targets with -O1 than -O2
MUSEPACKFLAGS = $(filter-out -O%,$(CODECFLAGS)) -I$(APPSDIR)/codecs/libmusepack
ifeq ($(CPU),arm)
MUSEPACKFLAGS += -O1
else
MUSEPACKFLAGS += -O2
endif
MUSEPACKFLAGS += -O1
$(CODECDIR)/libmusepack/%.o: $(ROOTDIR)/apps/codecs/libmusepack/%.c
$(SILENT)mkdir -p $(dir $@)