aboutsummaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorAZ Huang2014-04-14 23:22:44 +0800
committerAZ Huang2014-04-15 02:40:28 +0800
commitb1f692e82ed43a25690918fc24302654a1d2034d (patch)
tree45adcf86f7008178ae3eacf6f8936a9b0affc40a /unix
parent5904dad842a40a61a9ee588a66a32b38ca434a41 (diff)
Use computed goto instead of switching op-codes.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index ac1baf3d0..64f5a6cf1 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)
+CFLAGS = -I. -I$(PY_SRC) -Wall -Werror -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) -DMICROPY_USE_COMPUTED_GOTO
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)