summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libtta/libtta.make7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/codecs/libtta/libtta.make b/apps/codecs/libtta/libtta.make
index a7dcf70ee0..b18d013cbf 100644
--- a/apps/codecs/libtta/libtta.make
+++ b/apps/codecs/libtta/libtta.make
@@ -18,7 +18,12 @@ $(TTALIB): $(TTALIB_OBJ)
18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null 18 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
19 19
20TTAFLAGS = $(filter-out -O%,$(CODECFLAGS)) 20TTAFLAGS = $(filter-out -O%,$(CODECFLAGS))
21TTAFLAGS += -O3 -funroll-loops 21
22ifeq ($(CPU),coldfire)
23 TTAFLAGS += -O3
24else
25 TTAFLAGS += -O2
26endif
22 27
23$(CODECDIR)/libtta/%.o: $(ROOTDIR)/apps/codecs/libtta/%.c 28$(CODECDIR)/libtta/%.o: $(ROOTDIR)/apps/codecs/libtta/%.c
24 $(SILENT)mkdir -p $(dir $@) 29 $(SILENT)mkdir -p $(dir $@)