From dc687532cd7c93dbeeb44ad857ac9aa936d74064 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pali=20Roh=C3=A1r?= Date: Sun, 2 Jan 2022 15:38:42 +0100 Subject: [PATCH] libpci: Compile windows i386-ports only for x86 CPU There are already arm32 and arm64 port of MinGW-w64 toolchain. --- lib/configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/configure b/lib/configure index c736e01..45a416a 100755 --- a/lib/configure +++ b/lib/configure @@ -153,6 +153,7 @@ case $sys in # So always set -lcfgmgr32 as a first library parameter which # instruct linker to prefer symbols from cfgmgr32.dll. echo >>$m 'WITH_LIBS+=-lcfgmgr32' + case $cpu in i?86|x86_64) echo_n " i386-ports" echo >>$c '#define PCI_HAVE_PM_INTEL_CONF' if [ "$sys" = "cygwin" ] ; then @@ -162,6 +163,7 @@ case $sys in # advapi32 is windows system library and used only by lib/i386-io-windows.h echo >>$m 'WITH_LIBS+=-ladvapi32' fi + ;; esac EXEEXT=.exe ;; beos|haiku) -- 2.39.2