summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-06-01 17:50:06 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-06-01 17:50:06 +0000
commit54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0 (patch)
tree622b2522635b74090ffd2ae2f6271c20ad686c55 /apps
parent5dca53eeb0e5ee17bfb5ff436655fa991d0786bd (diff)
downloadrockbox-54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0.tar.gz
rockbox-54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libmad/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile
index 3a7be714ea..e966fdefb5 100644
--- a/apps/codecs/libmad/Makefile
+++ b/apps/codecs/libmad/Makefile
@@ -17,8 +17,8 @@ endif
17# NOTE: FPM_ define has been moved to global.h 17# NOTE: FPM_ define has been moved to global.h
18MADOPTS = -UDEBUG -DNDEBUG 18MADOPTS = -UDEBUG -DNDEBUG
19 19
20# libmad is faster on ipods with -O instead of -O2 20# libmad may be faster on ipod3g with -O instead of -O2
21ifeq ($(findstring IPOD,$(TARGET)),IPOD) 21ifeq ($(findstring IPOD_3G,$(TARGET)),IPOD_3G)
22 MADOPTS += -O 22 MADOPTS += -O
23else 23else
24 MADOPTS += -O2 24 MADOPTS += -O2