more performance testing
MODIFY
GNUmakefile
GNUmakefile
@@ -55,7 +55,7 @@ ifneq "$(shell uname)" "Darwin"
CFLAGS_OPT += -march=native
endif
# OS X does not like _FORTIFY_SOURCE=2
- CFLAGS_OPT += -D_FORTIFY_SOURCE=2
+# CFLAGS_OPT += -D_FORTIFY_SOURCE=2
endif
ifdef STATIC

MODIFY
llvm_mode/GNUmakefile
llvm_mode/GNUmakefile
@@ -196,7 +196,8 @@ 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)\" \
@@ -209,7 +210,8 @@ 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

more performance testing