mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Codecs: debugging: Disable compiler optimizations when DEBUG is defined
Change-Id: I6a65a2f650c4c7e0cde6165e8f46df1f3a5fd855
This commit is contained in:
parent
5b61c79cf8
commit
e80cf93b67
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,7 @@ ifneq ($(MEMORYSIZE),2)
|
|||
include $(RBCODECLIB_DIR)/codecs/cRSID/cRSID.make
|
||||
endif
|
||||
|
||||
ifndef DEBUG
|
||||
# set CODECFLAGS per codec lib, since gcc takes the last -Ox and the last
|
||||
# in a -ffoo -fno-foo pair, there is no need to filter them out
|
||||
$(CODECLIB) : CODECFLAGS += -O1
|
||||
|
@ -148,6 +149,7 @@ ifeq ($(MEMORYSIZE),2)
|
|||
$(ASFLIB) : CODECFLAGS += -Os
|
||||
$(WMALIB) : CODECFLAGS += -Os
|
||||
endif
|
||||
endif #ifndef DEBUG
|
||||
|
||||
ifndef APP_TYPE
|
||||
CONFIGFILE := $(FIRMDIR)/export/config/$(MODELNAME).h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue