summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-23 15:59:35 +0100
commitb705c6426818ba8cedfd00d1a84dab8ff0d0f1a0 (patch)
treee4f403e4ec56ed55c98e65dfb22a9f4c94531508 /make/template/main.mk
parent9add848772555f527b625953cb45c46850ac1274 (diff)
parent365e2b45f871d80debb135b0f26766538d10809d (diff)
Merge branch 'master+no-rtti'
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 521888bea..39e2b1c23 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -93,7 +93,7 @@ INSTMODE_LIB = 0640
DBGOK=0
@IFEQ $(D) 0
- CORECXXFLAGS += -O2
+ CORECXXFLAGS += -fno-rtti -O2
@IFEQ $(COMPILER) GCC
CORECXXFLAGS += -g1
@ENDIF
@@ -101,12 +101,12 @@ DBGOK=0
DBGOK=1
@ENDIF
@IFEQ $(D) 1
- CORECXXFLAGS += -O0 -g3 -Werror
+ CORECXXFLAGS += -O0 -g3 -Werror -DINSPIRCD_ENABLE_RTTI
HEADER = debug-header
DBGOK=1
@ENDIF
@IFEQ $(D) 2
- CORECXXFLAGS += -O2 -g3
+ CORECXXFLAGS += -fno-rtti -O2 -g3
HEADER = debug-header
DBGOK=1
@ENDIF