[openwrt/openwrt] resolveip: Forward LDFLAGS

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 18 14:14:41 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/2fc6a143a7db742e878d041d5fc58b6b378c145e

commit 2fc6a143a7db742e878d041d5fc58b6b378c145e
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 16 23:12:50 2025 +0100

    resolveip: Forward LDFLAGS
    
    Forward the TARGET_LDFLAGS to the linking process.
    
    Link: https://github.com/openwrt/openwrt/pull/20813
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/network/utils/resolveip/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/utils/resolveip/Makefile b/package/network/utils/resolveip/Makefile
index ab5d4eada2..fb8d40619a 100644
--- a/package/network/utils/resolveip/Makefile
+++ b/package/network/utils/resolveip/Makefile
@@ -29,7 +29,7 @@ define Package/resolveip/description
 endef
 
 define Build/Compile
-	$(TARGET_CC) $(TARGET_CFLAGS) -Wall \
+	$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wall \
 		-o $(PKG_BUILD_DIR)/resolveip $(PKG_BUILD_DIR)/resolveip.c
 endef
 




More information about the lede-commits mailing list