From bb0fd87e4f2116a79119b386a2db269b814df483 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 5 Jun 2014 10:43:46 +0200 Subject: [PATCH] iputils: build PIE bins. --- srcpkgs/iputils/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/iputils/template b/srcpkgs/iputils/template index 39ea79e92f9..01b974ac498 100644 --- a/srcpkgs/iputils/template +++ b/srcpkgs/iputils/template @@ -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 }