From: Pali Rohár Date: Sun, 2 Jan 2022 14:38:42 +0000 (+0100) Subject: libpci: Compile windows i386-ports only for x86 CPU X-Git-Tag: v3.8.0~14 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=dc687532cd7c93dbeeb44ad857ac9aa936d74064;p=pciutils.git libpci: Compile windows i386-ports only for x86 CPU There are already arm32 and arm64 port of MinGW-w64 toolchain. --- 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)