From 879b351bfe1ffe7a7fe8b7c98986a208be706598 Mon Sep 17 00:00:00 2001 From: "Jonathan A. Kollasch" Date: Sun, 14 Feb 2010 01:00:36 +0000 Subject: Use uname -p instead of -m on NetBSD so we get the right architecture library name Corresponding to flashrom svn r903. Signed-off-by: Jonathan A. Kollasch Acked-by: Carl-Daniel Hailfinger --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e998ce9..b9445b7 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 -- cgit v1.1