From 6fb74342b8a3e7aa62e9e0cfe79bd84d9076a275 Mon Sep 17 00:00:00 2001 From: hexcoder- Date: Tue, 8 Dec 2020 22:32:51 +0100 Subject: add TEST_MMAP --- GNUmakefile.gcc_plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile.gcc_plugin') diff --git a/GNUmakefile.gcc_plugin b/GNUmakefile.gcc_plugin index bf3a3288..3f658a47 100644 --- a/GNUmakefile.gcc_plugin +++ b/GNUmakefile.gcc_plugin @@ -19,7 +19,7 @@ # # http://www.apache.org/licenses/LICENSE-2.0 # - +#TEST_MMAP=1 PREFIX ?= /usr/local HELPER_PATH ?= $(PREFIX)/lib/afl BIN_PATH ?= $(PREFIX)/bin -- cgit 1.4.1 From 2641082a76ca33e22f0edcededa006f437b646ea Mon Sep 17 00:00:00 2001 From: hexcoder Date: Wed, 9 Dec 2020 10:51:20 +0100 Subject: Fix -DUSEMMAP --- GNUmakefile.gcc_plugin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'GNUmakefile.gcc_plugin') diff --git a/GNUmakefile.gcc_plugin b/GNUmakefile.gcc_plugin index 3f658a47..ee211c24 100644 --- a/GNUmakefile.gcc_plugin +++ b/GNUmakefile.gcc_plugin @@ -67,12 +67,12 @@ ifeq "$(shell echo '$(HASH)include @$(HASH)include @int ma SHMAT_OK=1 else SHMAT_OK=0 - override CFLAGS += -DUSEMMAP=1 + override CFLAGS_SAFE += -DUSEMMAP=1 endif ifeq "$(TEST_MMAP)" "1" SHMAT_OK=0 - override CFLAGS += -DUSEMMAP=1 + override CFLAGS_SAFE += -DUSEMMAP=1 endif ifneq "$(shell uname -s)" "Haiku" -- cgit 1.4.1