summaryrefslogtreecommitdiff
path: root/util/nvramtool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/nvramtool/Makefile')
-rw-r--r--util/nvramtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile
index bb623bbe1a..8da7c76c8c 100644
--- a/util/nvramtool/Makefile
+++ b/util/nvramtool/Makefile
@@ -34,7 +34,7 @@ OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
LDFLAGS = -framework DirectHW
endif
-ifeq ($(OS_ARCH), NetBSD)
+ifeq ($(OS_ARCH),$(filter $(OS_ARCH),NetBSD OpenBSD))
LDFLAGS = -l$(shell uname -p)
endif
ifeq ($(shell uname -o 2>/dev/null), Cygwin)