diff options
author | van Hauser <vh@thc.org> | 2020-06-23 17:36:05 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-23 17:36:05 +0200 |
commit | cffb0e9a25326913cb83c27bd1015a24603c8e96 (patch) | |
tree | c2fb72f1c2da6f6ed35bc856daa3c113bad0685b /gcc_plugin | |
parent | 2b26e3867fa7dbf7547b8c149275cd17f46f6587 (diff) | |
download | afl++-cffb0e9a25326913cb83c27bd1015a24603c8e96.tar.gz |
fix gcc makefile
Diffstat (limited to 'gcc_plugin')
-rw-r--r-- | gcc_plugin/GNUmakefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc_plugin/GNUmakefile b/gcc_plugin/GNUmakefile index c4a6f1a4..a2d8b5a9 100644 --- a/gcc_plugin/GNUmakefile +++ b/gcc_plugin/GNUmakefile @@ -28,11 +28,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 -CFLAGS += -Wall -I../include -Wno-pointer-sign \ - -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ - -DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \ - -Wno-unused-function +CFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 +override CFLAGS += -Wall -I../include -Wno-pointer-sign \ + -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \ + -DGCC_VERSION=\"$(GCCVER)\" -DGCC_BINDIR=\"$(GCCBINDIR)\" \ + -Wno-unused-function CXXFLAGS ?= -O3 -g -funroll-loops -D_FORTIFY_SOURCE=2 CXXEFLAGS := $(CXXFLAGS) -Wall @@ -60,12 +60,12 @@ ifeq "$(shell echo '$(HASH)include <sys/ipc.h>@$(HASH)include <sys/shm.h>@int ma SHMAT_OK=1 else SHMAT_OK=0 - CFLAGS+=-DUSEMMAP=1 + override CFLAGS += -DUSEMMAP=1 endif ifeq "$(TEST_MMAP)" "1" SHMAT_OK=0 - CFLAGS+=-DUSEMMAP=1 + override CFLAGS += -DUSEMMAP=1 endif ifneq "$(shell uname -s)" "Haiku" |