[openwrt/openwrt] wireless-tools: Forward LDFLAGS

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


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/18cad16f5b22390a463a9aa853ccc8d7ae0d7a38

commit 18cad16f5b22390a463a9aa853ccc8d7ae0d7a38
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 16 23:25:19 2025 +0100

    wireless-tools: 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/wireless-tools/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/network/utils/wireless-tools/Makefile b/package/network/utils/wireless-tools/Makefile
index 6ac66a056a..9a19970af8 100644
--- a/package/network/utils/wireless-tools/Makefile
+++ b/package/network/utils/wireless-tools/Makefile
@@ -60,6 +60,7 @@ define Build/Compile
 	$(MAKE) -C $(PKG_BUILD_DIR) \
 		$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS="$(TARGET_CFLAGS) -I." \
+		LDFLAGS="$(TARGET_LDFLAGS)" \
 		BUILD_WE_ESSENTIAL=y \
 		LIBS="-lm -Wl,--gc-sections" \
 		libiw.so.$(PKG_VERSION) iwmulticall




More information about the lede-commits mailing list