pciutils: build_pie=yes is enough.
This commit is contained in:
parent
36851847d4
commit
d74372d64c
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'pciutils'
|
||||
pkgname=pciutils
|
||||
version=3.3.0
|
||||
revision=4
|
||||
revision=5
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="zlib-devel libkmod-devel"
|
||||
depends="hwids"
|
||||
|
@ -11,6 +11,7 @@ license="GPL-2"
|
|||
homepage="http://mj.ucw.cz/pciutils.html"
|
||||
distfiles="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${version}.tar.gz"
|
||||
checksum=4b576a1c2570046fda83fa2c5488661de698874ab04fd8e06eef4b6ab806d58a
|
||||
build_pie=yes
|
||||
|
||||
do_build() {
|
||||
make OPT="${CFLAGS}" SHARED=no AR=${AR} \
|
||||
|
@ -19,8 +20,8 @@ do_build() {
|
|||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||
cp lib/libpci.a ${XBPS_MASTERDIR}/tmp
|
||||
make clean
|
||||
make OPT="${CFLAGS} -fPIC -DPIC -fPIE" SHARED=yes AR=${AR} \
|
||||
RANLIB=${RANLIB} PREFIX=/usr CC="${CC} -pie" \
|
||||
make OPT="${CFLAGS}" SHARED=yes AR=${AR} \
|
||||
RANLIB=${RANLIB} PREFIX=/usr CC=${CC} \
|
||||
HOST=${XBPS_TARGET_MACHINE}-none-linux ZLIB=yes \
|
||||
SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man all
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue