Enable _GLIBCXX_ASSERTIONS in debug compile mode in Linux/UNIX.

This commit is contained in:
Stephen Anthony 2022-05-29 18:41:52 -02:30
parent 53dba3bba9
commit ad1bbb750b
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,6 @@
srcdir ?= .
# -Wp,-D_GLIBCXX_ASSERTIONS
DEFINES := -DSDL_SUPPORT -D_GLIBCXX_USE_CXX11_ABI=1
LDFLAGS := -pthread
INCLUDES :=
@ -80,8 +79,8 @@ ifdef PROFILE
endif
ifdef DEBUG
CXXFLAGS += -g
CFLAGS += -g
CXXFLAGS += -g -Wp,-D_GLIBCXX_ASSERTIONS
CFLAGS += -g -Wp,-D_GLIBCXX_ASSERTIONS
else
ifdef HAVE_GCC
CXXFLAGS+= -fomit-frame-pointer