thermald: disable PIE for i686

This commit is contained in:
Andrea Brancaleoni 2015-08-18 01:26:59 +02:00
parent 7f33f88ca6
commit 2d6dbd4c17

View File

@ -1,12 +1,11 @@
# Template file for 'thermald'
pkgname=thermald
version=1.4.3
revision=2
revision=3
_pkgname=thermal_daemon
wrksrc="${_pkgname}-${version}"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-configure
build_pie=yes
hostmakedepends="automake pkg-config"
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
short_desc="The Linux Thermal Daemon program from 01.org"
@ -19,6 +18,10 @@ conf_files="
/etc/thermald/thermal-conf.xml
/etc/thermald/thermal-cpu-cdev-order.xml"
if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then
build_pie=yes
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}