diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2018-07-29 14:58:30 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-08-14 17:20:18 +1000 |
commit | ab78fe0eb9997622e40d412d5f7d5e9b1a91e47a (patch) | |
tree | b5ef5e6b7266c5dfd01e151eb446f0a19f9d3290 /tests/micropython/native_with.py | |
parent | 8300be6d0f7505f78802bee7e7aece422608d08e (diff) |
mpy-cross/Makefile: Also undefine MICROPY_FORCE_32BIT and CROSS_COMPILE.
mpy-cross is a host, not target binary. It should not be build with the
target compiler, compiler options and other settings. For example,
If someone currently tries to build from pristine checkout the unix port
with the following command:
make CROSS_COMPILE=arm-linux-gnueabihf-
then mpy-cross will be built with arm-linux-gnueabihf-gcc and of course
won't run on the host, leading to overall build failure.
This situation was worked around for some options in 1d8c3f4cff1, so add
MICROPY_FORCE_32BIT and CROSS_COMPILE to that set too.
Diffstat (limited to 'tests/micropython/native_with.py')
0 files changed, 0 insertions, 0 deletions