summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-14 01:00:36 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2010-02-14 01:00:36 +0000
commit66cd7f54a6b4188a0a0bffe08914a92ee4932823 (patch)
tree7663a6dd369947bde903d3e2a3112740f9195632 /Makefile
parentb4d9348ccb7050c567bd05c14bdaf521a1241155 (diff)
downloadflashrom-66cd7f54a6b4188a0a0bffe08914a92ee4932823.tar.gz
Use uname -p instead of -m on NetBSD so we get the right
architecture library name. Signed-off-by: Jonathan A. Kollasch <jakllsch@kollasch.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@903 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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