aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@localhost.localdomain>2020-05-26 17:41:24 +0200
committerroot <root@localhost.localdomain>2020-05-26 17:41:24 +0200
commitd5bb9731fe1e4d80c050180f9fe05dd21d75e2b2 (patch)
tree34578ae146ad79b7748363f23fe022a8e6c1a76d
parent46a0f812b1b99032831dd523fbe0efe65f507c4c (diff)
downloadafl++-d5bb9731fe1e4d80c050180f9fe05dd21d75e2b2.tar.gz
Revert "libfuzzer driver, better rt compilation"
This reverts commit 46a0f812b1b99032831dd523fbe0efe65f507c4c.
-rw-r--r--llvm_mode/GNUmakefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm_mode/GNUmakefile b/llvm_mode/GNUmakefile
index 5f90783a..01c83787 100644
--- a/llvm_mode/GNUmakefile
+++ b/llvm_mode/GNUmakefile
@@ -196,8 +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 -D_FORTIFY_SOURCE=2
override CFLAGS += -Wall \
-g -Wno-pointer-sign -I ../include/ \
-DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \
@@ -210,8 +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 -D_FORTIFY_SOURCE=2
override CXXFLAGS += -Wall -g -I ../include/ \
-DVERSION=\"$(VERSION)\" -Wno-variadic-macros