mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
ipvsadm: fix PIE (#4227).
This commit is contained in:
parent
34099fd38c
commit
7127427f78
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ipvsadm'
|
# Template file for 'ipvsadm'
|
||||||
pkgname=ipvsadm
|
pkgname=ipvsadm
|
||||||
version=1.28
|
version=1.28
|
||||||
revision=2
|
revision=3
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libnl3-devel popt-devel"
|
makedepends="libnl3-devel popt-devel"
|
||||||
short_desc="The IP Virtual Server administration utility"
|
short_desc="The IP Virtual Server administration utility"
|
||||||
|
@ -13,7 +13,7 @@ checksum=90e0e49cad5acb9db1c04ed4cdadf7933152a472c2f694039b9d7a291c37f3ab
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i "s,ar rv,${AR} rv," libipvs/Makefile
|
sed -i "s,ar rv,${AR} rv," libipvs/Makefile
|
||||||
make CC=$CC AR=$AR CFLAGS="$CFLAGS -fPIC"
|
make CC=$CC AR=$AR CFLAGS="$CFLAGS -fPIC $LDFLAGS"
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make BUILD_ROOT=${DESTDIR} MANDIR=usr/share/man SBIN=${DESTDIR}/usr/bin install
|
make BUILD_ROOT=${DESTDIR} MANDIR=usr/share/man SBIN=${DESTDIR}/usr/bin install
|
||||||
|
|
Loading…
Add table
Reference in a new issue