ipvsadm: fix PIE (#4227).
This commit is contained in:
parent
34099fd38c
commit
7127427f78
@ -1,7 +1,7 @@
|
||||
# Template file for 'ipvsadm'
|
||||
pkgname=ipvsadm
|
||||
version=1.28
|
||||
revision=2
|
||||
revision=3
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libnl3-devel popt-devel"
|
||||
short_desc="The IP Virtual Server administration utility"
|
||||
@ -13,7 +13,7 @@ checksum=90e0e49cad5acb9db1c04ed4cdadf7933152a472c2f694039b9d7a291c37f3ab
|
||||
|
||||
do_build() {
|
||||
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() {
|
||||
make BUILD_ROOT=${DESTDIR} MANDIR=usr/share/man SBIN=${DESTDIR}/usr/bin install
|
||||
|
Loading…
Reference in New Issue
Block a user