iputils: build PIE bins.
This commit is contained in:
parent
df8fd65108
commit
bb0fd87e4f
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user