summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan A. Kollasch <jakllsch@kollasch.net>2010-02-14 01:00:36 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-02-14 01:00:36 +0000
commit879b351bfe1ffe7a7fe8b7c98986a208be706598 (patch)
tree7663a6dd369947bde903d3e2a3112740f9195632 /Makefile
parentea3b1b4db229584aad17704c87015e1623b9cb17 (diff)
downloadflashrom-879b351bfe1ffe7a7fe8b7c98986a208be706598.tar.gz
flashrom-879b351bfe1ffe7a7fe8b7c98986a208be706598.tar.bz2
flashrom-879b351bfe1ffe7a7fe8b7c98986a208be706598.zip
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 <jakllsch@kollasch.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e998ce98c..b9445b7b6 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