Define NDEBUG in RELEASE builds

This commit is contained in:
Clownacy 2019-12-05 15:04:53 +00:00
parent b8c70473dc
commit 20ed61a1f4

View file

@ -8,7 +8,7 @@ ALL_LDFLAGS = $(LDFLAGS)
ALL_LIBS = $(LIBS) ALL_LIBS = $(LIBS)
ifeq ($(RELEASE), 1) ifeq ($(RELEASE), 1)
ALL_CXXFLAGS += -O3 ALL_CXXFLAGS += -O3 -DNDEBUG
ALL_LDFLAGS += -s ALL_LDFLAGS += -s
FILENAME_DEF = CSE2.exe FILENAME_DEF = CSE2.exe
else else