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.
bound-method-equality
stijn 2020-09-10 14:13:25 +02:00 committed by Damien George
parent 2a9ea69fa9
commit 5b94c61097
1 changed files with 5 additions and 0 deletions

View File

@ -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