windows/Makefile: Support freezing modules.
Alter the build flags as needed to support freezing modules with a manifest. This makes freezing works just like it does for e.g. the unix port.
This commit is contained in:
parent
2a9ea69fa9
commit
5b94c61097
@ -58,4 +58,9 @@ SRC_QSTR += $(SRC_C)
|
||||
# SRC_QSTR
|
||||
SRC_QSTR_AUTO_DEPS +=
|
||||
|
||||
ifneq ($(FROZEN_MANIFEST),)
|
||||
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool -DMICROPY_MODULE_FROZEN_MPY=1 -DMPZ_DIG_SIZE=16
|
||||
MPY_CROSS_FLAGS += -mcache-lookup-bc
|
||||
endif
|
||||
|
||||
include $(TOP)/py/mkrules.mk
|
||||
|
Loading…
x
Reference in New Issue
Block a user