From f8fb9474aad9ffc6921755eda3006475f556c4ea Mon Sep 17 00:00:00 2001 From: Yukihiro Matsumoto Date: Mon, 30 Apr 2012 00:27:25 +0900 Subject: add -O3 to CFLAGS by default --- tools/mrbc/Makefile | 2 +- tools/mruby/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mrbc/Makefile b/tools/mrbc/Makefile index 7271a2fed..421ff7e0a 100644 --- a/tools/mrbc/Makefile +++ b/tools/mrbc/Makefile @@ -32,7 +32,7 @@ LL = gcc YACC = bison DEBUG_MODE = 1 ifeq ($(DEBUG_MODE),1) -CFLAGS = -g +CFLAGS = -g -O3 else CFLAGS = -O3 endif diff --git a/tools/mruby/Makefile b/tools/mruby/Makefile index 62d7cdd3f..3872fc0eb 100644 --- a/tools/mruby/Makefile +++ b/tools/mruby/Makefile @@ -40,7 +40,7 @@ LL = gcc YACC = bison DEBUG_MODE = 1 ifeq ($(DEBUG_MODE),1) -CFLAGS = -g +CFLAGS = -g -O3 else CFLAGS = -O3 endif -- cgit v1.2.3