dnsmasq: enable PIE.

This commit is contained in:
Enno Boland 2015-04-29 23:19:34 +02:00
parent d012f876e0
commit b6f55b55e8

View file

@ -1,7 +1,7 @@
# Template file for 'dnsmasq' # Template file for 'dnsmasq'
pkgname=dnsmasq pkgname=dnsmasq
version=2.72 version=2.72
revision=2 revision=3
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel libidn-devel" makedepends="dbus-devel libcap-devel libidn-devel"
conf_files="/etc/dnsmasq.conf" conf_files="/etc/dnsmasq.conf"
@ -14,6 +14,7 @@ license="GPL-2"
homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html" homepage="http://www.thekelleys.org.uk/dnsmasq/doc.html"
distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz" distfiles="http://www.thekelleys.org.uk/$pkgname/$pkgname-$version.tar.gz"
checksum=635f1b47417d17cf32e45cfcfd0213ac39fd09918479a25373ba9b2ce4adc05d checksum=635f1b47417d17cf32e45cfcfd0213ac39fd09918479a25373ba9b2ce4adc05d
build_pie=yes
do_build() { do_build() {
echo '#define HAVE_DBUS' >> src/config.h echo '#define HAVE_DBUS' >> src/config.h