Browse Source

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.
pull/6435/head
stijn 4 years ago
committed by Damien George
parent
commit
5b94c61097
  1. 5
      ports/windows/Makefile

5
ports/windows/Makefile

@ -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…
Cancel
Save