We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3662d commit c0726ceCopy full SHA for c0726ce
ports/raspberrypi/Makefile
@@ -207,7 +207,7 @@ CFLAGS += $(OPTIMIZATION_FLAGS)
207
CFLAGS += $(CFLAGS_CYW43)
208
#Debugging/Optimization
209
ifeq ($(DEBUG), 1)
210
- CFLAGS += -ggdb3 -O3
+ CFLAGS += -ggdb3 -Og
211
# No LTO because we may place some functions in RAM instead of flash.
212
else
213
CFLAGS += -DNDEBUG
@@ -219,8 +219,7 @@ else
219
endif
220
221
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
+DISABLE_WARNINGS = -Wno-cast-align
224
225
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS) -Werror=missing-prototypes
226
0 commit comments