emacs: set additional configure flags for debug build
As suggested in the DEBUG documentation: https://github.com/emacs-mirror/emacs/blob/master/etc/DEBUG
This commit is contained in:
parent
9887e8cbfd
commit
b158c8de2a
@ -29,6 +29,15 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||||||
--with-pdumper=yes
|
--with-pdumper=yes
|
||||||
--with-dumping=none
|
--with-dumping=none
|
||||||
"
|
"
|
||||||
|
|
||||||
|
if $TERMUX_DEBUG; then
|
||||||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="
|
||||||
|
--enable-checking=yes,glyphs
|
||||||
|
--enable-check-lisp-object-type
|
||||||
|
"
|
||||||
|
CFLAGS+=" -gdwarf-4"
|
||||||
|
fi
|
||||||
|
|
||||||
# Ensure use of system malloc:
|
# Ensure use of system malloc:
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_sanitize_address=yes"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" emacs_cv_sanitize_address=yes"
|
||||||
# Prevent configure from adding -nopie:
|
# Prevent configure from adding -nopie:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user