diff options
| author | van Hauser <vh@thc.org> | 2020-06-14 17:38:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-14 17:38:17 +0200 |
| commit | 741dce3ca6e3406b75576ad097e1209ca40a26ad (patch) | |
| tree | 4a577af893d3a7083ec3ae827e2d557b6374d3e4 /llvm_mode/GNUmakefile | |
| parent | ab142282a32f93725926d59899ab17a62e65f060 (diff) | |
| parent | 67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (diff) | |
| download | afl++-741dce3ca6e3406b75576ad097e1209ca40a26ad.tar.gz | |
Merge pull request #404 from devnexen/haiku_porting
Porting to Haiku.
Diffstat (limited to 'llvm_mode/GNUmakefile')
| -rw-r--r-- | llvm_mode/GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/GNUmakefile b/llvm_mode/GNUmakefile index ca1e8e08..de247a60 100644 --- a/llvm_mode/GNUmakefile +++ b/llvm_mode/GNUmakefile @@ -196,7 +196,7 @@ ifeq "$(shell echo 'int main() {return 0; }' | $(CLANG_BIN) -x c - -fuse-ld=`com endif endif -CFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 +CFLAGS ?= -O3 -funroll-loops -fpic -D_FORTIFY_SOURCE=2 override CFLAGS += -Wall \ -g -Wno-pointer-sign -I ../include/ \ -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ @@ -209,7 +209,7 @@ ifdef AFL_TRACE_PC $(info Compile option AFL_TRACE_PC is deprecated, just set AFL_LLVM_INSTRUMENT=PCGUARD to activate when compiling targets ) endif -CXXFLAGS ?= -O3 -funroll-loops -D_FORTIFY_SOURCE=2 +CXXFLAGS ?= -O3 -funroll-loops -fpic -D_FORTIFY_SOURCE=2 override CXXFLAGS += -Wall -g -I ../include/ \ -DVERSION=\"$(VERSION)\" -Wno-variadic-macros |
