From a4e84b1d61a772f878a61e1511b280ea6a2d78d9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 Mar 2013 12:14:26 +0100 Subject: [PATCH] lm-sensors: cross build support. --- srcpkgs/lm-sensors/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/lm-sensors/template b/srcpkgs/lm-sensors/template index 2af6c0e2e1..43d7386322 100644 --- a/srcpkgs/lm-sensors/template +++ b/srcpkgs/lm-sensors/template @@ -19,7 +19,7 @@ conf_files="/etc/sensors3.conf" subpackages="libsensors libsensors-devel" do_build() { - make PREFIX=/usr ${makejobs} + make CC="$CC" LD="$LD" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr ${makejobs} } do_install() {