diff options
author | Damien George <damien.p.george@gmail.com> | 2019-11-04 15:32:20 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-11-04 15:32:20 +1100 |
commit | 742030945c779c57c30c62c7b1353758d29dc228 (patch) | |
tree | c4bd9b308f58db5338202af9097de04e8112d3bb | |
parent | 36c9be6f60314684edf131f554efec7120e20f30 (diff) |
esp32/Makefile: Add correct arch to MPY_CROSS_FLAGS for native code.
-rw-r--r-- | ports/esp32/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index 37261d17b..42b01a4e6 100644 --- a/ports/esp32/Makefile +++ b/ports/esp32/Makefile @@ -275,6 +275,9 @@ COPT += -Os -DNDEBUG #LDFLAGS += --gc-sections endif +# Options for mpy-cross +MPY_CROSS_FLAGS += -march=xtensawin + # Enable SPIRAM support if CONFIG_ESP32_SPIRAM_SUPPORT=y in sdkconfig ifeq ($(CONFIG_ESP32_SPIRAM_SUPPORT),y) CFLAGS_COMMON += -mfix-esp32-psram-cache-issue |