Disable debug and enable optimizations by default.

This does not affect stacktraces produced during
a crash when run using `mono --debug`.
This commit is contained in:
Paul Chote
2019-03-24 16:01:58 +00:00
committed by Oliver Brakmann
parent 93193d4e63
commit 9cbf08201f

View File

@@ -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=<path-to/nunit[2]-console>] [NUNIT_LIBS_PATH=<path-to-libs-dir>] [NUNIT_LIBS=<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