aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index fd1c1999d..2e0cbfd35 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -94,7 +94,7 @@ CFLAGS_MOD += -DMICROPY_PY_SOCKET=1
SRC_MOD += modsocket.c
endif
ifeq ($(MICROPY_PY_THREAD),1)
-CFLAGS_MOD += -DMICROPY_PY_THREAD=1
+CFLAGS_MOD += -DMICROPY_PY_THREAD=1 -DMICROPY_PY_THREAD_GIL=0
LDFLAGS_MOD += -lpthread
endif