logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK git clone https://hacktivis.me/git/badwolf.git
commit: cf83d8eb261d6261c6c1ae468cc9a9e0db8b8a71
parent b7891e286e9585e6d3cd97a22446e32f461ad374
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 25 Aug 2023 02:48:34 +0200

configure: Move -D_FORTIFY_SOURCE=2 to default and drop non-standard feature flags

Diffstat:

Mconfigure4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure @@ -90,7 +90,7 @@ PKGCONFIG="${PKGCONFIG:-pkg-config}" MSGFMT="${MSGFMT:-msgfmt}" INKSCAPE="${INKSCAPE:-inkscape}" CC="${CC:-cc}" -CFLAGS="${CFLAGS:--g -O2 -pie -fPIE}" +CFLAGS="${CFLAGS:--g -O2 -D_FORTIFY_SOURCE=2}" ED="${ED:-ed}" XGETTEXT="${XGETTEXT:-xgettext}" MSGMERGE="${MSGMERGE:-msgmerge}" @@ -133,7 +133,7 @@ DATADIR="${DATADIR:-${PREFIX}/share/badwolf}" APPSDIR="${APPSDIR:-${PREFIX}/share/applications}" # Add some extra CFLAGS -CFLAGS="${CFLAGS} -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla ${EXTRA_CFLAGS}" +CFLAGS="${CFLAGS} -Wall -Wextra -Wconversion -Wsign-conversion -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla ${EXTRA_CFLAGS}" ## System checks # commands