diff options
author | Damien George <damien.p.george@gmail.com> | 2017-01-05 15:55:06 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-01-05 15:55:06 +1100 |
commit | 5d0d61586cfbc32ad0ec96b2c553a704367fbe57 (patch) | |
tree | 970b8536bfe87eb62dc002ade7c4bda35933aff0 | |
parent | 98458a46ec9c34fa59dbfa7c9189b7e181e5e7a3 (diff) | |
download | micropython-5d0d61586cfbc32ad0ec96b2c553a704367fbe57.tar.gz micropython-5d0d61586cfbc32ad0ec96b2c553a704367fbe57.zip |
unix/Makefile: Allow cache-map-lookup optimisation with frozen bytecode.
-rw-r--r-- | unix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index 28ff910e58..a24962a291 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -177,8 +177,8 @@ ifneq ($(FROZEN_MPY_DIR),) # then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch). CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool CFLAGS += -DMICROPY_MODULE_FROZEN_MPY -CFLAGS += -DMICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE=0 # not supported CFLAGS += -DMPZ_DIG_SIZE=16 # force 16 bits to work on both 32 and 64 bit archs +MPY_CROSS_FLAGS += -mcache-lookup-bc endif |