Skip to content

Commit 5d0d615

Browse files
committed
unix/Makefile: Allow cache-map-lookup optimisation with frozen bytecode.
1 parent 98458a4 commit 5d0d615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ ifneq ($(FROZEN_MPY_DIR),)
177177
# then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch).
178178
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
179179
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
180-
CFLAGS += -DMICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE=0 # not supported
181180
CFLAGS += -DMPZ_DIG_SIZE=16 # force 16 bits to work on both 32 and 64 bit archs
181+
MPY_CROSS_FLAGS += -mcache-lookup-bc
182182
endif
183183

184184

0 commit comments

Comments
 (0)