Merge pull request #618 from arturo182/nrf_debug_optim

nrf: Use -O1 for debug builds
This commit is contained in:
Kevin Townsend 2018-02-12 23:15:03 +01:00 committed by GitHub
commit 4f32732c95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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