1
0
Fork 0
forked from len0rd/rockbox

Compile libmad with -O2 for the Ipods instead of just newer PP targets. Gives a 2% speedup on Ipods, but no change elsewhere. I've left the 3G alone, but its probably worth checking.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17674 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Giacomelli 2008-06-01 17:50:06 +00:00
parent 5dca53eeb0
commit 54ac25fcb2

View file

@ -17,8 +17,8 @@ endif
# NOTE: FPM_ define has been moved to global.h # NOTE: FPM_ define has been moved to global.h
MADOPTS = -UDEBUG -DNDEBUG MADOPTS = -UDEBUG -DNDEBUG
# libmad is faster on ipods with -O instead of -O2 # libmad may be faster on ipod3g with -O instead of -O2
ifeq ($(findstring IPOD,$(TARGET)),IPOD) ifeq ($(findstring IPOD_3G,$(TARGET)),IPOD_3G)
MADOPTS += -O MADOPTS += -O
else else
MADOPTS += -O2 MADOPTS += -O2