summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-06-01 20:07:09 +0000
committerJens Arnold <amiconn@rockbox.org>2008-06-01 20:07:09 +0000
commitbc97952134ff2756d9397a78a9d20b7323e69436 (patch)
treea82fdfa19eca3042269d8aab6bcae1493c40bf0e /apps
parent54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0 (diff)
downloadrockbox-bc97952134ff2756d9397a78a9d20b7323e69436.tar.gz
rockbox-bc97952134ff2756d9397a78a9d20b7323e69436.tar.bz2
rockbox-bc97952134ff2756d9397a78a9d20b7323e69436.zip
libmad: PP5002 does in fact profit more from -O2 than PP502x, so use it for all targets. The previous check was half-baked (excluded iPod 3rd Gen only, but 1st/2nd Gen are also PP5002).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17675 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/libmad/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/codecs/libmad/Makefile b/apps/codecs/libmad/Makefile
index e966fdefb5..4d838db74f 100644
--- a/apps/codecs/libmad/Makefile
+++ b/apps/codecs/libmad/Makefile
@@ -15,14 +15,7 @@ ifdef APPEXTRA
endif
# NOTE: FPM_ define has been moved to global.h
-MADOPTS = -UDEBUG -DNDEBUG
-
-# libmad may be faster on ipod3g with -O instead of -O2
-ifeq ($(findstring IPOD_3G,$(TARGET)),IPOD_3G)
- MADOPTS += -O
-else
- MADOPTS += -O2
-endif
+MADOPTS = -UDEBUG -DNDEBUG -O2
# We build libmad separately for mpegplayer
ifdef MPEGPLAYER