specify -DNDEBUG cflag in debug mode to improve performance when debugging large apps

This commit is contained in:
Joel Dice 2007-11-14 16:23:15 -07:00
parent 115622f54a
commit 3570beaba9

View File

@ -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