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:
parent
5dca53eeb0
commit
54ac25fcb2
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue