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() {