about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorHeiko Eissfeldt <heiko@hexco.de>2019-07-02 20:20:07 +0200
committerHeiko Eissfeldt <heiko@hexco.de>2019-07-02 20:20:07 +0200
commitcc48f4499a6b4d646c19b99c0905324161eb03ed (patch)
tree43a0c9832d48932c6535be554b9ac0bb54651645 /Makefile
parent3e2f2ddb564418093483b963dec509821d89d2b4 (diff)
downloadafl++-cc48f4499a6b4d646c19b99c0905324161eb03ed.tar.gz
add librt under NetBSD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2075b90f..7acdd049 100644
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,10 @@ ifneq "$(filter Linux GNU%,$(shell uname))" ""
   LDFLAGS  += -ldl -lrt
 endif
 
+ifeq "$(shell uname)" "NetBSD"
+  LDFLAGS  += -lrt
+endif
+
 ifeq "$(findstring clang, $(shell $(CC) --version 2>/dev/null))" ""
   TEST_CC   = afl-gcc
 else