From 20ed61a1f481d8abb4b8cd817c47507debfac349 Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 5 Dec 2019 15:04:53 +0000 Subject: [PATCH] Define NDEBUG in RELEASE builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 293f0317..4a001c9e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ ALL_LDFLAGS = $(LDFLAGS) ALL_LIBS = $(LIBS) ifeq ($(RELEASE), 1) - ALL_CXXFLAGS += -O3 + ALL_CXXFLAGS += -O3 -DNDEBUG ALL_LDFLAGS += -s FILENAME_DEF = CSE2.exe else