From 9cbf08201f3d83d21ff4a24cb68e7a1c0dab037b Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 24 Mar 2019 16:01:58 +0000 Subject: [PATCH] Disable debug and enable optimizations by default. This does not affect stacktraces produced during a crash when run using `mono --debug`. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 14f6b6e277..4522ffe59b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ############################# INSTRUCTIONS ############################# # # to compile, run: -# make [DEBUG=false] +# make [DEBUG=true] # # to check unit tests (requires NUnit version >= 2.6), run: # make nunit [NUNIT_CONSOLE=] [NUNIT_LIBS_PATH=] [NUNIT_LIBS=] @@ -56,7 +56,7 @@ WHITELISTED_CORE_ASSEMBLIES = mscorlib.dll System.dll System.Configuration.dll S NUNIT_LIBS_PATH := NUNIT_LIBS := $(NUNIT_LIBS_PATH)nunit.framework.dll -DEBUG = true +DEBUG = false ifeq ($(DEBUG), $(filter $(DEBUG),false no n off 0)) CSFLAGS += -debug:pdbonly -optimize+ else