mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
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>
This commit is contained in:
parent
ea3b1b4db2
commit
879b351bfe
2
Makefile
2
Makefile
@ -183,7 +183,7 @@ FEATURE_CFLAGS += -D'NEED_PCI=1'
|
|||||||
PROGRAMMER_OBJS += pcidev.o physmap.o hwaccess.o
|
PROGRAMMER_OBJS += pcidev.o physmap.o hwaccess.o
|
||||||
ifeq ($(OS_ARCH), NetBSD)
|
ifeq ($(OS_ARCH), NetBSD)
|
||||||
LIBS += -lpciutils # The libpci we want.
|
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
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user