commit 3b7382a65fb079635e71414077e13e33633f036f parent 50e372e411cf41860894e31c13bb4bbb0fe1d3d2 Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com> Date: Sat, 6 Jul 2024 13:54:01 +0200 Add knob to configure Emacs for debugging As per etc/DEBUG. Diffstat:
| M | .local/bin/emacs-build | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.local/bin/emacs-build b/.local/bin/emacs-build @@ -45,6 +45,15 @@ then ) fi +if test "${DEBUG:-}" +then + configure_flags+=( + --enable-checking=yes,glyphs + --enable-check-lisp-object-type + CFLAGS='-O0 -g3' + ) +fi + if ! test -f "${src}"/Makefile then ${make} -C "${src}" configure