1.1 --- a/generator.py Tue Mar 07 17:13:46 2017 +0100
1.2 +++ b/generator.py Tue Mar 07 17:19:16 2017 +0100
1.3 @@ -441,6 +441,8 @@
1.4 try:
1.5 if debug:
1.6 print >>f_options, "CFLAGS = -g"
1.7 + else:
1.8 + print >>f_options, "CFLAGS = -O2"
1.9
1.10 if gc_sections:
1.11 print >>f_options, "include gc_sections.mk"
2.1 --- a/templates/Makefile Tue Mar 07 17:13:46 2017 +0100
2.2 +++ b/templates/Makefile Tue Mar 07 17:19:16 2017 +0100
2.3 @@ -4,7 +4,7 @@
2.4
2.5 SRC += exceptions.c main.c ops.c progops.c progtypes.c
2.6 OBJ = $(SRC:.c=.o)
2.7 -CFLAGS += -Wall -I. -finput-charset=UTF-8 -O2
2.8 +CFLAGS += -Wall -I. -finput-charset=UTF-8
2.9 LDFLAGS += -lm -lgc
2.10
2.11 ifdef ARCH