thermald: make warnings non-fatal and fix cross-build. (#2714)
This commit is contained in:
parent
92cc2cce2d
commit
7c8c57a949
1 changed files with 7 additions and 2 deletions
|
@ -6,8 +6,8 @@ _pkgname=thermal_daemon
|
|||
wrksrc="${_pkgname}-${version}"
|
||||
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake pkg-config"
|
||||
makedepends="dbus-glib-devel libxml2-devel glib-devel libgomp-devel"
|
||||
hostmakedepends="automake pkg-config glib-devel"
|
||||
makedepends="dbus-glib-devel libxml2-devel libglib-devel libgomp-devel"
|
||||
short_desc="The Linux Thermal Daemon program from 01.org"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="GPL-2"
|
||||
|
@ -16,7 +16,12 @@ distfiles="${homepage}/archive/v${version}.tar.gz"
|
|||
checksum=662456eff5b7ee5a42e54b8a667d002d3a4dec5cacbddc5e1ab5ec94dab218c6
|
||||
conf_files='/etc/thermald/*'
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" dbus-glib-devel" # for dbus-binding-tool
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
sed -i '/-Werror/d' Makefile.am
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue