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
749bf98ad2
commit
9bd3a0a601
5
Makefile
5
Makefile
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
srcdir ?= .
|
srcdir ?= .
|
||||||
|
|
||||||
# -Wp,-D_GLIBCXX_ASSERTIONS
|
|
||||||
DEFINES := -DSDL_SUPPORT -D_GLIBCXX_USE_CXX11_ABI=1
|
DEFINES := -DSDL_SUPPORT -D_GLIBCXX_USE_CXX11_ABI=1
|
||||||
LDFLAGS := -pthread
|
LDFLAGS := -pthread
|
||||||
INCLUDES :=
|
INCLUDES :=
|
||||||
|
@ -80,8 +79,8 @@ ifdef PROFILE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef DEBUG
|
ifdef DEBUG
|
||||||
CXXFLAGS += -g
|
CXXFLAGS += -g -Wp,-D_GLIBCXX_ASSERTIONS
|
||||||
CFLAGS += -g
|
CFLAGS += -g -Wp,-D_GLIBCXX_ASSERTIONS
|
||||||
else
|
else
|
||||||
ifdef HAVE_GCC
|
ifdef HAVE_GCC
|
||||||
CXXFLAGS+= -fomit-frame-pointer
|
CXXFLAGS+= -fomit-frame-pointer
|
||||||
|
|
Loading…
Reference in New Issue