diff options
author | David Carlier <devnexen@gmail.com> | 2020-06-14 15:26:43 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2020-06-14 15:32:02 +0000 |
commit | 67d87dd2a9dbc393b56162e77ff3178f4e3f59fa (patch) | |
tree | 24a839cd715e1bc204edeff4ee886f04d7fca267 /gcc_plugin/GNUmakefile | |
parent | bfe5b88e782ffd3f97c2a25da60b0b36552a6a64 (diff) | |
download | afl++-67d87dd2a9dbc393b56162e77ff3178f4e3f59fa.tar.gz |
Porting to Haiku.
getrusage does not implement resident memory gathering, no shm api neither.
Diffstat (limited to 'gcc_plugin/GNUmakefile')
-rw-r--r-- | gcc_plugin/GNUmakefile | 4 |
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 |