Skip to content

Commit ecba079

Browse files
U-ANALOG\BHurstBrandon-Hurst
authored andcommitted
Fix optimization settings for non-debug builds
1 parent dace5bc commit ecba079

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/analog/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,9 @@ DEBUG ?= 1
163163
endif
164164

165165
ifeq ($(DEBUG),1)
166-
CFLAGS += -ggdb3
167-
COPT = -Og
166+
COPT = -Og -ggdb3 -Os
168167
else
169-
COPT += -O0 #opt completely off to start
168+
COPT += -Os #opt completely off to start
170169
endif
171170

172171
# TinyUSB CFLAGS

0 commit comments

Comments
 (0)