logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: e698a0a4cd0d41c17e13ffaf3d81a8762bf88f9d
parent 0ab8803303860c5035bde30f0aac83231e967ca8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 28 Jul 2023 11:53:44 +0200

configure: Add -DDEBUG to default CFLAGS

Diffstat:

Mconfigure3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure @@ -90,7 +90,8 @@ MSGFMT="${MSGFMT:-msgfmt}" CC="${CC:-cc}" MAKE="${MAKE:-make}" GCOV="${GCOV:-gcov}" -CFLAGS="${CFLAGS:--g -O2}" +# -DDEBUG: Otherwise assert() does nothing, fine to be removed in production +CFLAGS="${CFLAGS:--g -O2 -DDEBUG}" MANDOC="${MANDOC:-mandoc}" SHELLCHECK="${SHELLCHECK:-shellcheck}" FLAWFINDER="${FLAWFINDER:-flawfinder}"