]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
lm-sensors: Properly build with LDFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 19 Jun 2016 17:57:12 +0000 (13:57 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2016 16:23:09 +0000 (12:23 -0400)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lm-sensors/lm-sensors.nm

index a1a01bdad9e84528e2651f43fa98cee8df8b4f82..731a947e7d3c492f3bdc8984385addb51a54a912 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = lm-sensors
 version    = 3.3.5
-release    = 1
+release    = 2
 
 thisapp    = lm_sensors-%{version}
 
@@ -38,7 +38,7 @@ build
        end
 
        common_flags = PREFIX=%{prefix} LIBDIR=%{libdir} MANDIR=%{mandir} \
-               PROG_EXTRA=sensord
+               PROG_EXTRA=sensord CFLAGS="%{CFLAGS}" EXLDFLAGS="%{LDFLAGS}"
 
        make_build_targets += %{common_flags} user
        make_install_targets += %{common_flags} user_install