From 2d6dbd4c171bb509bc03da3d4ae06fce0304a94a Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 18 Aug 2015 01:26:59 +0200 Subject: [PATCH] thermald: disable PIE for i686 --- srcpkgs/thermald/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/thermald/template b/srcpkgs/thermald/template index c0150457bc1..5329350550b 100644 --- a/srcpkgs/thermald/template +++ b/srcpkgs/thermald/template @@ -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 }