mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
thermald: disable PIE for i686
This commit is contained in:
parent
7f33f88ca6
commit
2d6dbd4c17
1 changed files with 5 additions and 2 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'thermald'
|
# Template file for 'thermald'
|
||||||
pkgname=thermald
|
pkgname=thermald
|
||||||
version=1.4.3
|
version=1.4.3
|
||||||
revision=2
|
revision=3
|
||||||
_pkgname=thermal_daemon
|
_pkgname=thermal_daemon
|
||||||
wrksrc="${_pkgname}-${version}"
|
wrksrc="${_pkgname}-${version}"
|
||||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_pie=yes
|
|
||||||
hostmakedepends="automake pkg-config"
|
hostmakedepends="automake pkg-config"
|
||||||
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
|
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
|
||||||
short_desc="The Linux Thermal Daemon program from 01.org"
|
short_desc="The Linux Thermal Daemon program from 01.org"
|
||||||
|
@ -19,6 +18,10 @@ conf_files="
|
||||||
/etc/thermald/thermal-conf.xml
|
/etc/thermald/thermal-conf.xml
|
||||||
/etc/thermald/thermal-cpu-cdev-order.xml"
|
/etc/thermald/thermal-cpu-cdev-order.xml"
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_MACHINE" != "i686" ]; then
|
||||||
|
build_pie=yes
|
||||||
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue