summaryrefslogtreecommitdiffstats
path: root/util/msrtool/configure
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-09-01 10:03:01 +0000
committerStefan Reinauer <stepan@openbios.org>2009-09-01 10:03:01 +0000
commit37f3935029cef0616fa36b9c822496e3e51f03ba (patch)
tree347c23e4a92e282a9e2d074d46e29cd73475e1db /util/msrtool/configure
parente95eb616cc987072a1a17f8b98854645fb82bfce (diff)
downloadcoreboot-37f3935029cef0616fa36b9c822496e3e51f03ba.tar.gz
coreboot-37f3935029cef0616fa36b9c822496e3e51f03ba.tar.bz2
coreboot-37f3935029cef0616fa36b9c822496e3e51f03ba.zip
port msrtool to darwin.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> with minor changes to allow 32bit and 64bit compilation and (I hope), Peter's concerns addressed. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4624 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/msrtool/configure')
-rwxr-xr-xutil/msrtool/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/msrtool/configure b/util/msrtool/configure
index 8534a85cc462..ee2d6ccd5dba 100755
--- a/util/msrtool/configure
+++ b/util/msrtool/configure
@@ -155,7 +155,7 @@ CFLAGS=`trycompile "libpci (from pciutils)" "${pc_CFLAGS}" "-I/usr/local/include
rm -f .config.c
exit 1
}
-LDFLAGS=`trylink "libpci (from pciutils)" "${pc_LDFLAGS}" "-lpci -lz" "-L/usr/local/lib -lpci -lz" "-framework IOKit -L/usr/local/lib -lpci -lz"` || {
+LDFLAGS=`trylink "libpci (from pciutils)" "${pc_LDFLAGS}" "-lpci -lz" "-L/usr/local/lib -lpci -lz" "-framework DirectIO -lpci -lz"` || {
rm -f .config.c .config.o
exit 1
}