aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e998ce98..b9445b7b 100644
--- a/Makefile
+++ b/Makefile
@@ -183,7 +183,7 @@ FEATURE_CFLAGS += -D'NEED_PCI=1'
PROGRAMMER_OBJS += pcidev.o physmap.o hwaccess.o
ifeq ($(OS_ARCH), NetBSD)
LIBS += -lpciutils # The libpci we want.
-LIBS += -l$(shell uname -m) # For (i386|x86_64)_iopl(2).
+LIBS += -l$(shell uname -p) # For (i386|x86_64)_iopl(2).
endif
endif