Define NDEBUG in RELEASE builds
This commit is contained in:
parent
b8c70473dc
commit
20ed61a1f4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue