ldns: drop hardening flags from ldns-config

This commit is contained in:
Alessio Sergi 2017-03-21 16:37:22 +01:00
parent 1f09b6ea30
commit 37e61563d3

View file

@ -1,7 +1,7 @@
# Template file for 'ldns'
pkgname=ldns
version=1.7.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-drill --with-examples --disable-dane-ta-usage
--with-trust-anchor=/etc/dns/root.key
@ -18,6 +18,10 @@ checksum=c19f5b1b4fb374cfe34f4845ea11b1e0551ddc67803bd6ddd5d2a20f0997a6cc
post_extract() {
sed -i 's/defined(@\$also)/@$also/' doc/doxyparse.pl
}
post_install() {
sed -i -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" ${DESTDIR}/usr/bin/ldns-config
}
libldns_package() {
depends="dnssec-anchors"