summaryrefslogtreecommitdiffstats
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
parent5dca53eeb0e5ee17bfb5ff436655fa991d0786bd (diff)
downloadrockbox-54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0.tar.gz
rockbox-54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0.tar.bz2
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
-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
# NOTE: FPM_ define has been moved to global.h
MADOPTS = -UDEBUG -DNDEBUG
-# libmad is faster on ipods with -O instead of -O2
-ifeq ($(findstring IPOD,$(TARGET)),IPOD)
+# libmad may be faster on ipod3g with -O instead of -O2
+ifeq ($(findstring IPOD_3G,$(TARGET)),IPOD_3G)
MADOPTS += -O
else
MADOPTS += -O2