iputils: build PIE bins.

This commit is contained in:
Juan RP 2014-06-05 10:43:46 +02:00
parent df8fd65108
commit bb0fd87e4f

View File

@ -1,7 +1,7 @@
# Template file for 'iputils'
pkgname=iputils
version=20121221
revision=2
revision=3
patch_args="-Np1"
wrksrc="${pkgname}-s${version}"
makedepends="openssl-devel libcap-devel"
@ -14,8 +14,8 @@ distfiles="http://www.skbuff.net/iputils/${pkgname}-s${version}.tar.bz2"
checksum=450f549fc5b620c23c5929aa6d54b7ddfc7ee1cb1e8efdc5e8bb21d8d0c5319f
do_build() {
make CC="$CC" LD="$LD" \
USE_GNUTLS=no CCOPTOPT="$CFLAGS" ${makejobs} \
make CC="$CC" LD="$LD" CCOPTOPT="$CFLAGS -fPIE" LDFLAGS="$LDFLAGS -pie" \
USE_GNUTLS=no ${makejobs} \
arping clockdiff ping ping6 rdisc tracepath tracepath6
}