diff options
-rw-r--r-- | apps/codecs/libtta/libtta.make | 7 |
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 | ||
20 | TTAFLAGS = $(filter-out -O%,$(CODECFLAGS)) | 20 | TTAFLAGS = $(filter-out -O%,$(CODECFLAGS)) |
21 | TTAFLAGS += -O3 -funroll-loops | 21 | |
22 | ifeq ($(CPU),coldfire) | ||
23 | TTAFLAGS += -O3 | ||
24 | else | ||
25 | TTAFLAGS += -O2 | ||
26 | endif | ||
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 $@) |