summaryrefslogtreecommitdiff
path: root/util/superiotool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/superiotool/Makefile')
-rw-r--r--util/superiotool/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile
index 566388ba31..bcdb107d71 100644
--- a/util/superiotool/Makefile
+++ b/util/superiotool/Makefile
@@ -46,6 +46,9 @@ CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
LDFLAGS += -L/usr/local/lib
LIBS = -lz
endif
+ifeq ($(OS_ARCH), NetBSD)
+LDFLAGS = -l$(shell uname -p)
+endif
# Support for PCI-attached "Super I/Os" (e.g. in VIA VT82686A/B).
CONFIG_PCI = yes