summaryrefslogtreecommitdiff
path: root/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'unix/Makefile')
-rw-r--r--unix/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile
index a6b5026e2..8ee231982 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -44,6 +44,8 @@ endif
LDFLAGS = $(LDFLAGS_MOD) $(LDFLAGS_ARCH) -lm $(LDFLAGS_EXTRA)
ifeq ($(MICROPY_FORCE_32BIT),1)
+# Note: you may need to install i386 versions of dependency packages,
+# starting with linux-libc-dev:i386
CFLAGS += -m32
LDFLAGS += -m32
ifeq ($(MICROPY_PY_FFI),1)