summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbcodec/codecs/codecs.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/codecs.make b/lib/rbcodec/codecs/codecs.make
index 83dc784ee3..67bbcee5a5 100644
--- a/lib/rbcodec/codecs/codecs.make
+++ b/lib/rbcodec/codecs/codecs.make
@@ -76,6 +76,7 @@ ifneq ($(MEMORYSIZE),2)
76include $(RBCODECLIB_DIR)/codecs/cRSID/cRSID.make 76include $(RBCODECLIB_DIR)/codecs/cRSID/cRSID.make
77endif 77endif
78 78
79ifndef DEBUG
79# set CODECFLAGS per codec lib, since gcc takes the last -Ox and the last 80# set CODECFLAGS per codec lib, since gcc takes the last -Ox and the last
80# in a -ffoo -fno-foo pair, there is no need to filter them out 81# in a -ffoo -fno-foo pair, there is no need to filter them out
81$(CODECLIB) : CODECFLAGS += -O1 82$(CODECLIB) : CODECFLAGS += -O1
@@ -148,6 +149,7 @@ ifeq ($(MEMORYSIZE),2)
148 $(ASFLIB) : CODECFLAGS += -Os 149 $(ASFLIB) : CODECFLAGS += -Os
149 $(WMALIB) : CODECFLAGS += -Os 150 $(WMALIB) : CODECFLAGS += -Os
150endif 151endif
152endif #ifndef DEBUG
151 153
152ifndef APP_TYPE 154ifndef APP_TYPE
153 CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h 155 CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h