diff options
author | van Hauser <vh@thc.org> | 2020-06-23 17:43:04 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-23 17:43:04 +0200 |
commit | 89f0dc2d149141393e98bd86eccd2468c575a7fa (patch) | |
tree | c35968348d6e2b3b91bd72a79c28881b8e988c6a /gcc_plugin | |
parent | cffb0e9a25326913cb83c27bd1015a24603c8e96 (diff) | |
download | afl++-89f0dc2d149141393e98bd86eccd2468c575a7fa.tar.gz |
fix gcc mode for travis
Diffstat (limited to 'gcc_plugin')
-rw-r--r-- | gcc_plugin/GNUmakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc_plugin/GNUmakefile b/gcc_plugin/GNUmakefile index a2d8b5a9..60f04bb7 100644 --- a/gcc_plugin/GNUmakefile +++ b/gcc_plugin/GNUmakefile @@ -29,10 +29,11 @@ MAN_PATH ?= $(PREFIX)/man/man8 VERSION = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2) CFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 -override CFLAGS += -Wall -I../include -Wno-pointer-sign \ +CFLAGS_SAFE := -Wall -I../include -Wno-pointer-sign \ -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ -DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \ -Wno-unused-function +override CFLAGS += $(CFLAGS_SAFE) CXXFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 CXXEFLAGS := $(CXXFLAGS) -Wall @@ -113,7 +114,7 @@ afl-common.o: ../src/afl-common.c $(CXX) $(CXXEFLAGS) $(PLUGIN_FLAGS) -shared $< -o $@ ../afl-gcc-rt.o: afl-gcc-rt.o.c | test_deps - $(CC) $(CFLAGS) -fPIC -c $< -o $@ + $(CC) $(CFLAGS_SAFE) -fPIC -c $< -o $@ test_build: $(PROGS) @echo "[*] Testing the CC wrapper and instrumentation output..." |