From 311649f4581ff54f32bf6fe85fea357c329b0b68 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sat, 29 Jan 2022 22:08:03 +0100 Subject: make fPIC default --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 68ca17d0..1c5d992e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -142,7 +142,7 @@ else endif override CFLAGS += -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith \ - -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \ + -fPIC -I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \ -DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\" ifeq "$(SYS)" "FreeBSD" @@ -167,7 +167,7 @@ endif ifeq "$(SYS)" "Haiku" SHMAT_OK=0 - override CFLAGS += -DUSEMMAP=1 -Wno-error=format -fPIC + override CFLAGS += -DUSEMMAP=1 -Wno-error=format override LDFLAGS += -Wno-deprecated-declarations -lgnu -lnetwork SPECIAL_PERFORMANCE += -DUSEMMAP=1 endif -- cgit 1.4.1