From b1f692e82ed43a25690918fc24302654a1d2034d Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Mon, 14 Apr 2014 23:22:44 +0800 Subject: Use computed goto instead of switching op-codes. --- unix/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix') 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) -- cgit v1.2.3