about summary refs log tree commit diff
path: root/GNUmakefile.gcc_plugin
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-12-09 10:51:20 +0100
committerGitHub <noreply@github.com>2020-12-09 10:51:20 +0100
commit2641082a76ca33e22f0edcededa006f437b646ea (patch)
tree0722f6c6c8a23c6e0abfc1ac08188f901154d2d2 /GNUmakefile.gcc_plugin
parentcebbedd238501d7f4326b0494cd60208a92e1645 (diff)
downloadafl++-2641082a76ca33e22f0edcededa006f437b646ea.tar.gz
Fix -DUSEMMAP
Diffstat (limited to 'GNUmakefile.gcc_plugin')
-rw-r--r--GNUmakefile.gcc_plugin4
1 files changed, 2 insertions, 2 deletions
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 <sys/ipc.h>@$(HASH)include <sys/shm.h>@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"