summaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/Makefile')
-rw-r--r--util/nvramtool/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index 520655dbb5..e0054cde34 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -39,6 +39,9 @@ OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
LDFLAGS = -framework DirectIO
endif
+ifeq ($(OS_ARCH), NetBSD)
+LDFLAGS = -l$(shell uname -p)
+endif
all: dep $(PROGRAM)