less: build PIE bins.
This commit is contained in:
parent
e3506c9a90
commit
4f47b769df
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'less'
|
# Template file for 'less'
|
||||||
pkgname=less
|
pkgname=less
|
||||||
version=458
|
version=458
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-regex=pcre"
|
configure_args="--with-regex=pcre"
|
||||||
makedepends="ncurses-devel pcre-devel>=8.30"
|
makedepends="ncurses-devel pcre-devel>=8.30"
|
||||||
|
@ -11,3 +11,6 @@ license="GPL-3"
|
||||||
homepage="http://www.greenwoodsoftware.com/less"
|
homepage="http://www.greenwoodsoftware.com/less"
|
||||||
distfiles="${homepage}/less-${version}.tar.gz"
|
distfiles="${homepage}/less-${version}.tar.gz"
|
||||||
checksum=e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
|
checksum=e536c7819ede54b3d487f0ffc4c14b3620bed83734d92a81e89f62346db0fcac
|
||||||
|
|
||||||
|
CFLAGS="-fPIE"
|
||||||
|
LDFLAGS="-pie"
|
||||||
|
|
Loading…
Reference in New Issue