logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: cc4aeba01e3c72b05ffdac49095a5467f8f35665
parent 99cd19f1b1b4a8020294d0e13c5a8ded4eb1736d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 19 Apr 2022 08:04:06 +0200

configure: Simplify

Diffstat:

Mconfigure5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure b/configure @@ -85,8 +85,7 @@ MSGFMT="${MSGFMT:-msgfmt}" CC="${CC:-cc}" MAKE="${MAKE:-make}" GCOV="${GCOV:-gcov}" -CFLAGS="${CFLAGS:--g -O2 -pie -fPIE}" -LDFLAGS="${LDFLAGS:--Wl,--as-needed}" +CFLAGS="${CFLAGS:--g -O2}" MANDOC="${MANDOC:-mandoc}" SHELLCHECK="${SHELLCHECK:-shellcheck}" FLAWFINDER="${FLAWFINDER:-flawfinder}" @@ -122,7 +121,7 @@ SBINDIR="${SBINDIR:-${PREFIX}/sbin}" MANDIR="${MANDIR:-${PREFIX}/share/man}" # Add some extra CFLAGS -CFLAGS="${CFLAGS} -fstack-protector-strong -Wall -Wextra -Wconversion -Wsign-conversion -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla ${EXTRA_CFLAGS}" +CFLAGS="${CFLAGS} ${EXTRA_CFLAGS}" printf 'Pruning old configurations ...' rm -f config.mk bin/config.mk sbin/config.mk \