Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37514173
en ru br
ALT Linux repositórios
S:3.10.0-alt1
D:2.99.1-alt0.2
5.0: 3.1.2-alt1
4.1: 3.0.0-alt1
4.0: 2.2.4-alt1
3.0: 2.1.11-alt10

Group :: Sistema/Kernel e hardware
RPM: pciutils

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: pciutils-2.2.4-makefile.patch
Download


diff --git a/lib/Makefile b/lib/Makefile
index ae11863..8edc596 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -7,6 +7,7 @@ OBJS=access.o generic.o dump.o names.o f
 INCL=internal.h pci.h config.h header.h sysdep.h types.h
 
 PCILIB=libpci.a
+CFLAGS += -fPIC
 
 ifdef PCI_HAVE_PM_LINUX_SYSFS
 OBJS += sysfs.o
diff --git a/lib/configure b/lib/configure
index 57c5509..1200f33 100755
--- a/lib/configure
+++ b/lib/configure
@@ -119,7 +119,7 @@ fi
 if [ "$zlib" = yes ] ; then
 	echo >>$c '#define PCI_COMPRESSED_IDS'
 	echo >>$c '#define PCI_IDS "pci.ids.gz"'
-	echo >>$m 'LDFLAGS+=-lz'
+	echo >>$m 'LDLIBS+=-lz'
 else
 	echo >>$c '#define PCI_IDS "pci.ids"'
 fi
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009