mirror of https://github.com/stella-emu/stella.git
Enable _GLIBCXX_ASSERTIONS in debug compile mode in Linux/UNIX.
This commit is contained in:
parent
53dba3bba9
commit
ad1bbb750b
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue