when building in release mode omit debugging symbols: this is a workaround for #115

gitea-140
positron 4 weeks ago
parent 105b77397f
commit a97777f728

@ -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

@ -11,6 +11,9 @@
different from PEP_STATUS_OK.
Closes https://gitea.pep.foundation/pEp.foundation/pEpEngine/issues/91 .
* Update YML2 dependency (reported by Dvn).
* Release builds of the Engine are now compiled (on platforms using make)
without debugging symbols, in order to work around
https://gitea.pep.foundation/pEp.foundation/pEpEngine/issues/115 .
v3.2.0-RC24 2023-02-20
* log the current thread id along with the current process id. When stuck on

Loading…
Cancel
Save