From 54ac25fcb2d22799ba6e4e2e75042ce6b51fd3b0 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Sun, 1 Jun 2008 17:50:06 +0000 Subject: 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 --- apps/codecs/libmad/Makefile | 4 ++-- 1 file 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 -- cgit