diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-02-14 01:00:36 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-02-14 01:00:36 +0000 |
commit | 66cd7f54a6b4188a0a0bffe08914a92ee4932823 (patch) | |
tree | 7663a6dd369947bde903d3e2a3112740f9195632 /Makefile | |
parent | b4d9348ccb7050c567bd05c14bdaf521a1241155 (diff) | |
download | flashrom-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |