about summary refs log tree commit diff
path: root/gcc_plugin/GNUmakefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-14 17:38:17 +0200
committerGitHub <noreply@github.com>2020-06-14 17:38:17 +0200
commit741dce3ca6e3406b75576ad097e1209ca40a26ad (patch)
tree4a577af893d3a7083ec3ae827e2d557b6374d3e4 /gcc_plugin/GNUmakefile
parentab142282a32f93725926d59899ab17a62e65f060 (diff)
parent67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (diff)
downloadafl++-741dce3ca6e3406b75576ad097e1209ca40a26ad.tar.gz
Merge pull request #404 from devnexen/haiku_porting
Porting to Haiku.
Diffstat (limited to 'gcc_plugin/GNUmakefile')
-rw-r--r--gcc_plugin/GNUmakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc_plugin/GNUmakefile b/gcc_plugin/GNUmakefile
index 9a404966..0f69e924 100644
--- a/gcc_plugin/GNUmakefile
+++ b/gcc_plugin/GNUmakefile
@@ -61,12 +61,14 @@ ifeq "$(shell echo '$(HASH)include <sys/ipc.h>@$(HASH)include <sys/shm.h>@int ma
 else
 	SHMAT_OK=0
 	CFLAGS+=-DUSEMMAP=1
-	LDFLAGS += -lrt
 endif
 
 ifeq "$(TEST_MMAP)" "1"
 	SHMAT_OK=0
 	CFLAGS+=-DUSEMMAP=1
+endif
+
+ifneq "$(shell uname -s)" "Haiku"
 	LDFLAGS += -lrt
 endif