mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
lm-sensors: pass TARGET_LDFLAGS to fix linking
Explicitly pass $(TARGET_LDFLAGS) to the build system to resolve MIPS linker errors related to missing -fPIC. Signed-off-by: Anari Jalakas <anari.jalakas@gmail.com>
This commit is contained in:
committed by
Hannu Nyman
parent
a33351cf73
commit
6469f06858
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=lm-sensors
|
||||
PKG_VERSION:=3.6.2
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_VERSION_SUBST=$(subst .,-,$(PKG_VERSION))
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/hramrach/lm-sensors/tar.gz/V$(PKG_VERSION_SUBST)?
|
||||
@@ -110,6 +110,7 @@ define Build/Compile
|
||||
LINUX="$(LINUX_DIR)" \
|
||||
CC="$(TARGET_CC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
||||
STAGING_DIR="$(STAGING_DIR)" \
|
||||
PREFIX="/usr" \
|
||||
|
||||
Reference in New Issue
Block a user