Skip to content

Commit 112f0fd

Browse files
committed
Add -Wno-undef to rp2 makefile for sdk
1 parent e139cd9 commit 112f0fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ports/raspberrypi/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ INC += \
142142
-Isdk_config \
143143
-I../../lib/tinyusb/src \
144144
-I../../supervisor/shared/usb \
145+
-I../bindings/cyw43/__init__.h \
145146
-I$(BUILD)
146147

147148
# Pico specific configuration
@@ -171,7 +172,7 @@ else
171172
endif
172173

173174
# Remove -Wno-stringop-overflow after we can test with CI's GCC 10. Mac's looks weird.
174-
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align
175+
DISABLE_WARNINGS = -Wno-stringop-overflow -Wno-cast-align -Wno-undef
175176

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

0 commit comments

Comments
 (0)