Skip to content

Commit c08083a

Browse files
committed
Fixes macOS compile error
1 parent dec93ee commit c08083a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext_mod/lcd_bus/micropython.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ else
3232
ifneq (,$(findstring macOS, $(LV_PORT)))
3333
# -F/Library/Frameworks -framework SDL2
3434
CFLAGS_USERMOD += -DMP_PORT_UNIX=1
35+
CFLAGS_USERMOD += -Wno-incompatible-pointer-types-discards-qualifiers
3536
CFLAGS_USERMOD += -I/Library/Frameworks/SDL2.framework/Headers/SDL2
3637
CFLAGS_USERMOD += $(shell sdl2-config --cflags)
3738
LDFLAGS_USERMOD += $(shell sdl2-config --libs)

0 commit comments

Comments
 (0)