Skip to content

Commit c0726ce

Browse files
committed
align with main-branch
1 parent aa3662d commit c0726ce

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ports/raspberrypi/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
207207
CFLAGS += $(CFLAGS_CYW43)
208208
#Debugging/Optimization
209209
ifeq ($(DEBUG), 1)
210-
CFLAGS += -ggdb3 -O3
210+
CFLAGS += -ggdb3 -Og
211211
# No LTO because we may place some functions in RAM instead of flash.
212212
else
213213
CFLAGS += -DNDEBUG
@@ -219,8 +219,7 @@ else
219219
endif
220220
endif
221221

222-
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
223-
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align
222+
DISABLE_WARNINGS = -Wno-cast-align
224223

225224
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS) -Werror=missing-prototypes
226225

0 commit comments

Comments
 (0)