fix conditional nesting

This commit is contained in:
Jeff Epler 2023-09-20 11:26:17 -05:00
parent 37c8b0df9c
commit c87703512a
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -81,8 +81,9 @@ CFLAGS_MOD += -DCIRCUITPY_ULAB=1 -DMODULE_ULAB_ENABLED=1 -DULAB_HAS_USER_MODULE=
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Wno-missing-declarations -Wno-missing-prototypes -Wno-unused-parameter -Wno-float-equal -Wno-sign-compare -Wno-cast-align -Wno-shadow -DCIRCUITPY
ifeq ($(CIRCUITPY_ULAB_OPTIMIZE_SIZE),1)
$(BUILD)/extmod/ulab/code/%.o: CFLAGS += -Os
endif
endif
endif # CIRCUITPY_ULAB_OPTIMIZE_SIZE
endif # CIRCUITPY_ULAB
endif # USER_C_MODULES
# py object files
PY_CORE_O_BASENAME = $(addprefix py/,\