summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-03-06 14:06:01 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-03-06 14:10:24 -0500
commitfeb349458e8ae17ede636716ccfa9d97e63f30b1 (patch)
treeb9dd312a3f6ce3e9f7adaa52ced64f124da1b0c3 /Makefile
parent863b70d198f62f28581162473a521208dd67879e (diff)
downloadbfs-feb349458e8ae17ede636716ccfa9d97e63f30b1.tar.xz
Support -flags on all the BSDs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d53e76..9e44fdc 100644
--- a/Makefile
+++ b/Makefile
@@ -73,6 +73,10 @@ else
DISTCHECK_FLAGS := TEST_FLAGS="--verbose"
endif
+ifeq ($(OS),NetBSD)
+LOCAL_LDLIBS += -lutil
+endif
+
ifneq ($(filter asan,$(MAKECMDGOALS)),)
LOCAL_CFLAGS += $(ASAN_CFLAGS)
SANITIZE := y