diff options
author | vanhauser-thc <vh@thc.org> | 2022-01-29 22:08:03 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2022-01-29 22:16:16 +0100 |
commit | 311649f4581ff54f32bf6fe85fea357c329b0b68 (patch) | |
tree | e12fe7784073426b5395ffc26f1e183c938d336b | |
parent | a5eafbff6cf57fc5f5b2a25a428d8615b5dfdd99 (diff) | |
download | afl++-311649f4581ff54f32bf6fe85fea357c329b0b68.tar.gz |
make fPIC default
-rw-r--r-- | GNUmakefile | 4 |
1 files 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 |