sudo: build PIE binaries by default.
This commit is contained in:
parent
f991c6923a
commit
e737ddf57e
|
@ -1,6 +1,7 @@
|
|||
# Template build file for 'sudo'.
|
||||
pkgname=sudo
|
||||
version=1.8.3p1
|
||||
revision=1
|
||||
distfiles="http://www.courtesan.com/sudo/dist/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-ignore-dot -with-all-insults --with-env-editor
|
||||
|
@ -21,6 +22,10 @@ long_desc="
|
|||
conf_files="/etc/pam.d/sudo /etc/sudoers"
|
||||
nostrip=yes
|
||||
|
||||
# Build PIE binaries by default.
|
||||
CFLAGS="-fPIE"
|
||||
LDFLAGS="-pie"
|
||||
|
||||
Add_dependency build gettext
|
||||
Add_dependency build zlib-devel
|
||||
Add_dependency build pam-devel
|
||||
|
|
Loading…
Reference in New Issue