diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2009-11-08 07:04:14 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2009-11-08 07:04:14 +0000 |
commit | b92e778fd71dfc86d41e6ddf68cf7b35477bc927 (patch) | |
tree | da5ce3a035ccc327e4bde77f03afb91d7dd66b6e /apps/codecs/libwavpack | |
parent | b6f15f2c95172c1649f1d4a512ace3b8801d4904 (diff) | |
download | rockbox-b92e778fd71dfc86d41e6ddf68cf7b35477bc927.tar.gz rockbox-b92e778fd71dfc86d41e6ddf68cf7b35477bc927.zip |
Reenable -O2 for Wavpack, which appears to have been lost during makefile clean up. Improves wavpack decoding performance by several MHz on ARM and Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23566 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwavpack')
-rw-r--r-- | apps/codecs/libwavpack/libwavpack.make | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/codecs/libwavpack/libwavpack.make b/apps/codecs/libwavpack/libwavpack.make index a2e5377418..f0912ee0eb 100644 --- a/apps/codecs/libwavpack/libwavpack.make +++ b/apps/codecs/libwavpack/libwavpack.make | |||
@@ -13,6 +13,13 @@ WAVPACKLIB_SRC := $(call preprocess, $(APPSDIR)/codecs/libwavpack/SOURCES) | |||
13 | WAVPACKLIB_OBJ := $(call c2obj, $(WAVPACKLIB_SRC)) | 13 | WAVPACKLIB_OBJ := $(call c2obj, $(WAVPACKLIB_SRC)) |
14 | OTHER_SRC += $(WAVPACKLIB_SRC) | 14 | OTHER_SRC += $(WAVPACKLIB_SRC) |
15 | 15 | ||
16 | WAVPACKFLAGS = -I$(APPSDIR)/codecs/libwavpack $(filter-out -O%,$(CODECFLAGS)) | ||
17 | WAVPACKFLAGS += -O2 | ||
18 | |||
16 | $(WAVPACKLIB): $(WAVPACKLIB_OBJ) | 19 | $(WAVPACKLIB): $(WAVPACKLIB_OBJ) |
17 | $(SILENT)$(shell rm -f $@) | 20 | $(SILENT)$(shell rm -f $@) |
18 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null | 21 | $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null |
22 | |||
23 | $(CODECDIR)/libwavpack/%.o: $(ROOTDIR)/apps/codecs/libwavpack/%.c | ||
24 | $(SILENT)mkdir -p $(dir $@) | ||
25 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) $(WAVPACKFLAGS) -c $< -o $@ | ||