summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-02-17 14:12:01 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-02-17 14:12:01 +0000
commit0a5b4fd7e423527dba1d7c8031d267bdbb6f1aa9 (patch)
tree350d5378c78bb581fa9851fd40db2b700724fcec
parent48ff82e46bc81a85e10b3e121d6b8872d04ca1dc (diff)
downloadrockbox-0a5b4fd7e423527dba1d7c8031d267bdbb6f1aa9.tar.gz
rockbox-0a5b4fd7e423527dba1d7c8031d267bdbb6f1aa9.zip
More aggressive inlining for libFLAC
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5999 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libFLAC/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libFLAC/Makefile b/apps/codecs/libFLAC/Makefile
index d711134ae9..329de9c3fd 100644
--- a/apps/codecs/libFLAC/Makefile
+++ b/apps/codecs/libFLAC/Makefile
@@ -14,7 +14,7 @@ ifdef APPEXTRA
INCLUDES += -I$(APPSDIR)/$(APPEXTRA)
endif
-FLACOPTS = -DFLAC__NO_ASM -DFLAC__ALIGN_MALLOC_DATA -DFLAC__INTEGER_ONLY_LIBRARY -DVERSION=\"1.1.2\" -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__
+FLACOPTS = -DFLAC__NO_ASM -DFLAC__ALIGN_MALLOC_DATA -DFLAC__INTEGER_ONLY_LIBRARY -DVERSION=\"1.1.2\" -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ --param large-function-insns=10000
CFLAGS = $(GCCOPTS) $(FLACOPTS)\
$(INCLUDES) $(TARGET) $(EXTRA_DEFINES) -DMEM=${MEMORYSIZE}
@@ -34,6 +34,7 @@ $(OUTPUT): $(OBJS)
$(OBJDIR)/libFLAC/%.o: $(APPSDIR)/codecs/libFLAC/%.c
@mkdir -p $(OBJDIR)/libFLAC
+ @echo "CC $<"
@$(CC) -c -O2 $(CFLAGS) -I$(APPSDIR)/codecs/libFLAC/include/FLAC $< -o $@
include $(TOOLSDIR)/make.inc