Author: hailfinger
Date: Sun Feb 14 02:00:36 2010
New Revision: 903
URL: http://flashrom.org/trac/coreboot/changeset/903

Log:
Use uname -p instead of -m on NetBSD so we get the right
architecture library name.

Signed-off-by: Jonathan A. Kollasch <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile      Sun Feb 14 00:41:01 2010        (r902)
+++ trunk/Makefile      Sun Feb 14 02:00:36 2010        (r903)
@@ -183,7 +183,7 @@
 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
 

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to