diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-04-30 00:27:25 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-04-30 00:27:25 +0900 |
| commit | f8fb9474aad9ffc6921755eda3006475f556c4ea (patch) | |
| tree | c3d3ee4610e8038511eac1c5cec2e5f57ee865ff | |
| parent | fc66d308a1485f01607310e2770231cc8ac251bb (diff) | |
| download | mruby-f8fb9474aad9ffc6921755eda3006475f556c4ea.tar.gz mruby-f8fb9474aad9ffc6921755eda3006475f556c4ea.zip | |
add -O3 to CFLAGS by default
| -rw-r--r-- | tools/mrbc/Makefile | 2 | ||||
| -rw-r--r-- | 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 |
