keyutils: force PIC.
This commit is contained in:
parent
adc27dc2d3
commit
4f76a762f7
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'keyutils'
|
||||
pkgname=keyutils
|
||||
version=1.5.9
|
||||
revision=2
|
||||
revision=3
|
||||
conf_files="/etc/request-key.conf"
|
||||
short_desc="Linux Key Management Utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
@ -11,12 +11,12 @@ distfiles="http://people.redhat.com/~dhowells/$pkgname/$pkgname-$version.tar.bz2
|
|||
checksum=4da2c5552c688b65ab14d4fd40fbdf720c8b396d8ece643e040cf6e707e083ae
|
||||
|
||||
do_build() {
|
||||
make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' \
|
||||
make CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" SBINDIR='/usr/bin' \
|
||||
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' \
|
||||
BINDIR='/usr/bin' ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
make DESTDIR=${DESTDIR} CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
make DESTDIR=${DESTDIR} CFLAGS="${CFLAGS} -fPIC" LDFLAGS="${LDFLAGS}" \
|
||||
LIBDIR='/usr/lib' USRLIBDIR='/usr/lib' SBINDIR='/usr/bin' \
|
||||
BINDIR='/usr/bin' install
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user