util-linux: build_pie=yes.
This commit is contained in:
parent
f1a62dbd90
commit
855c55bea0
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'util-linux'
|
# Template file for 'util-linux'
|
||||||
pkgname=util-linux
|
pkgname=util-linux
|
||||||
version=2.26
|
version=2.26
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="Miscellaneous linux utilities"
|
short_desc="Miscellaneous linux utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
|
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"
|
distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489
|
checksum=a23c6f39dea0ed215ccd589509ffc7bb6f706f6e1a04760f493fb0fd7e93c489
|
||||||
|
|
||||||
|
build_pie=yes
|
||||||
hostmakedepends="automake gettext-devel libtool pkg-config"
|
hostmakedepends="automake gettext-devel libtool pkg-config"
|
||||||
makedepends="zlib-devel ncurses-devel pam-devel>=1.1.8_4 libcap-ng-devel"
|
makedepends="zlib-devel ncurses-devel pam-devel>=1.1.8_4 libcap-ng-devel"
|
||||||
# Create uuidd system account for uuidd.
|
# Create uuidd system account for uuidd.
|
||||||
|
@ -34,8 +35,7 @@ do_configure() {
|
||||||
--enable-fs-paths-extra=/usr/sbin:/usr/bin \
|
--enable-fs-paths-extra=/usr/sbin:/usr/bin \
|
||||||
--disable-vipw --enable-newgrp --enable-chfn-chsh \
|
--disable-vipw --enable-newgrp --enable-chfn-chsh \
|
||||||
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
||||||
--without-udev --enable-write --localstatedir=/run \
|
--without-udev --enable-write --localstatedir=/run
|
||||||
SUID_CFLAGS="-fPIE" SUID_LDFLAGS="-pie"
|
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue