mpy-cross needs to know it's targeting circuitpython

This commit is contained in:
Jeff Epler 2023-09-20 11:22:51 -05:00
parent d83285b7d5
commit a715f089f4
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -21,6 +21,7 @@ CWARN = -Wall -Werror
CWARN += -Wextra -Wno-unused-parameter -Wpointer-arith
CFLAGS += $(INC) $(CWARN) -std=gnu99 $(COPT) $(CFLAGS_EXTRA)
CFLAGS += -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables
CFLAGS += -DCIRCUITPY
# Debugging/Optimization
ifdef DEBUG