lm-sensors: fix static build
authorBaruch Siach <baruch@tkos.co.il>
Thu, 8 Mar 2018 17:43:33 +0000 (19:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Jul 2018 07:16:16 +0000 (09:16 +0200)
commitb99dbdfac946751deb05e6e0c1f4c44659e15524
tree2fc65382e4d2cb19b589dd0ca13bc9aa41b0fe6d
parent36855f5ce1752588d1e75089e78a6f6abdb9dbbc
lm-sensors: fix static build

Add -static to the link command line to have libgcc resolve libc
symbols. This overrides the default -Wl,-rpath,/usr/lib, which is
useless for static build anyway.

Fixes:

  http://autobuild.buildroot.net/results/25d580bee6f609f6b28ebd6cc96d180179901b0e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/lm-sensors/lm-sensors.mk