From 3570beaba972db95fada4b7881baa4b2fcb71f72 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 14 Nov 2007 16:23:15 -0700 Subject: [PATCH] specify -DNDEBUG cflag in debug mode to improve performance when debugging large apps --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c000eddd8c..ec8267caec 100644 --- a/makefile +++ b/makefile @@ -105,7 +105,7 @@ ifeq ($(platform),windows) endif ifeq ($(mode),debug) - cflags += -O0 -g3 + cflags += -O0 -g3 -DNDEBUG endif ifeq ($(mode),stress) cflags += -O0 -g3 -DVM_STRESS