From d74372d64ca3b03f0cd012c455272c3260ca6916 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sat, 7 Mar 2015 21:05:04 +0100 Subject: [PATCH] pciutils: build_pie=yes is enough. --- srcpkgs/pciutils/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index 57b866ad883..464a263fdfa 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -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 }