util-linux: build_pie=yes.

This commit is contained in:
Juan RP 2015-03-06 11:36:23 +01:00
parent f1a62dbd90
commit 855c55bea0
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'util-linux'
pkgname=util-linux
version=2.26
revision=2
revision=3
short_desc="Miscellaneous linux utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
@ -9,6 +9,7 @@ license="GPL-2"
distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version}/${pkgname}-${version}.tar.xz"
checksum=a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489
build_pie=yes
hostmakedepends="automake gettext-devel libtool pkg-config"
makedepends="zlib-devel ncurses-devel pam-devel>=1.1.8_4 libcap-ng-devel"
# Create uuidd system account for uuidd.
@ -34,8 +35,7 @@ do_configure() {
--enable-fs-paths-extra=/usr/sbin:/usr/bin \
--disable-vipw --enable-newgrp --enable-chfn-chsh \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
--without-udev --enable-write --localstatedir=/run \
SUID_CFLAGS="-fPIE" SUID_LDFLAGS="-pie"
--without-udev --enable-write --localstatedir=/run
}
do_build() {
make ${makejobs}