aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile2
-rw-r--r--unix/mpconfigport.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 64f5a6cf1..ac1baf3d0 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -11,7 +11,7 @@ QSTR_DEFS = qstrdefsport.h
include ../py/py.mk
# compiler settings
-CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) -DMICROPY_USE_COMPUTED_GOTO
+CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT)
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index fe35e5b09..75f119e91 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -14,6 +14,7 @@
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_PATH_MAX (PATH_MAX)
+#define MICROPY_USE_COMPUTED_GOTO (1)
#define MICROPY_MOD_SYS_STDFILES (1)
// type definitions for the specific machine