logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK
commit: d88eca3e85906ca9458a8f0da89c85ddf5e9882d
parent c2b4c8fb07b50c064d8ffe5ce02e84e21b6cffaa
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 25 Oct 2020 02:23:59 +0100

Makefile: Add hardening cflags

Diffstat:

MMakefile2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -15,7 +15,7 @@ DATADIR ?= $(PREFIX)/share/badwolf APPSDIR ?= $(PREFIX)/share/applications CC ?= cc -CFLAGS ?= -g -Wall -Wextra -Wconversion -Wsign-conversion -O2 +CFLAGS ?= -g -O2 -fPIC -fPIE -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wconversion -Wsign-conversion -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=vla DBG ?= PKGCONFIG ?= pkg-config MSGFMT ?= msgfmt