|
|
|
@ -195,9 +195,12 @@ ifeq ($(DEBUG),release)
|
|
|
|
|
# We can define this with no fear: the test suite does not work with NDEBUG
|
|
|
|
|
# defined, but its makefile will filter the option out.
|
|
|
|
|
CPPFLAGS += -DNDEBUG
|
|
|
|
|
# I believe that we can afford some extra cost in binary size in exchange for
|
|
|
|
|
# debugging symbols being available everywhere.
|
|
|
|
|
COMPILEWITHDEBUGGINGSYMBOLS = yes
|
|
|
|
|
# # I believe that we can afford some extra cost in binary size in exchange for
|
|
|
|
|
# # debugging symbols being available everywhere.
|
|
|
|
|
# COMPILEWITHDEBUGGINGSYMBOLS = yes
|
|
|
|
|
# Disable debugging symbols on release builds, to work around an issue:
|
|
|
|
|
# https://gitea.pep.foundation/pEp.foundation/pEpEngine/issues/115#issuecomment-2692
|
|
|
|
|
COMPILEWITHDEBUGGINGSYMBOLS = no
|
|
|
|
|
else
|
|
|
|
|
CORCXXFLAGS += -O0
|
|
|
|
|
CPPFLAGS += -DDEBUG_ERRORSTACK
|
|
|
|
|