Add -Wno-undef to rp2 makefile for sdk

This commit is contained in:
Bill Sideris 2023-06-21 01:43:10 +03:00
parent e139cd9ec0
commit 112f0fd767
No known key found for this signature in database
GPG Key ID: 1BEF1BCEBA58EA33

View File

@ -142,6 +142,7 @@ INC += \
-Isdk_config \
-I../../lib/tinyusb/src \
-I../../supervisor/shared/usb \
-I../bindings/cyw43/__init__.h \
-I$(BUILD)
# Pico specific configuration
@ -171,7 +172,7 @@ else
endif
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align -Wno-undef
CFLAGS += $(INC) -Wall -Werror -std=gnu11 -nostdlib -fshort-enums $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $(DISABLE_WARNINGS) -Werror=missing-prototypes