diff options
| author | Kevin Townsend <microbuilder@users.noreply.github.com> | 2018-02-12 23:15:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-12 23:15:03 +0100 |
| commit | 4f32732c9595645340b630077e7c50e47b2dba53 (patch) | |
| tree | 9b6fa76910001b6a2ed7f2b940f7713f8354f718 | |
| parent | 0388a57f772c9f78b01490b32c9aff93f120a442 (diff) | |
| parent | 7579057ee2a060228264a9edf89a550de66d0997 (diff) | |
Merge pull request #618 from arturo182/nrf_debug_optim
nrf: Use -O1 for debug builds
| -rw-r--r-- | ports/nrf/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile index 638509259..5dec98ab7 100644 --- a/ports/nrf/Makefile +++ b/ports/nrf/Makefile @@ -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 |
