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
This commit is contained in:
Jens Arnold 2008-06-01 20:07:09 +00:00
parent 54ac25fcb2
commit bc97952134

View file

@ -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