nrf: Use -O1 for debug builds
While O0 is great for debugging, the produced binary doesn't fit on the feather52 anymore.
This commit is contained in:
parent
0388a57f77
commit
7579057ee2
|
@ -89,8 +89,8 @@ LDFLAGS += -Wl,--gc-sections
|
|||
#Debugging/Optimization
|
||||
ifeq ($(DEBUG), 1)
|
||||
#ASMFLAGS += -g -gtabs+
|
||||
CFLAGS += -O0 -ggdb
|
||||
LDFLAGS += -O0
|
||||
CFLAGS += -O1 -ggdb
|
||||
LDFLAGS += -O1
|
||||
else
|
||||
CFLAGS += -Os -DNDEBUG
|
||||
LDFLAGS += -Os
|
||||
|
|
Loading…
Reference in New Issue