logo

badwolf

minimalist and privacy-oriented web browser based on WebKitGTK
commit: 13b89829812598a1d2612d8304491afbcf01cf55
parent 983c730b810db766662416282e7413311e5a33b7
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  1 Nov 2020 23:56:49 +0100

Makefile: Fix PIE/PIC flags

Diffstat:

MMakefile2+-
Mbadwolf.h2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -15,7 +15,7 @@ DATADIR ?= $(PREFIX)/share/badwolf APPSDIR ?= $(PREFIX)/share/applications CC ?= cc -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 +CFLAGS ?= -g -O2 -pie -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 diff --git a/badwolf.h b/badwolf.h @@ -2,8 +2,8 @@ #define BADWOLF_H_INCLUDED #include <gtk/gtk.h> -#include <webkit2/webkit2.h> #include <inttypes.h> /* uint64_t */ +#include <webkit2/webkit2.h> extern const gchar *homepage; extern const gchar *version;