aboutsummaryrefslogtreecommitdiff
path: root/perl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl/Makefile')
-rw-r--r--perl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile b/perl/Makefile
index 284c75022..7ddb0cf69 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -7,8 +7,9 @@ GLOBAL_CXXFLAGS += -g -Wall
OPTIMIZE = 1
ifeq ($(OPTIMIZE), 1)
- GLOBAL_CFLAGS += -O3
GLOBAL_CXXFLAGS += -O3
+else
+ GLOBAL_CXXFLAGS += -O0
endif
include mk/lib.mk