comgt: Forward LDFLAGS
authorHauke Mehrtens <[email protected]>
Sun, 16 Nov 2025 22:12:11 +0000 (23:12 +0100)
committerHauke Mehrtens <[email protected]>
Tue, 18 Nov 2025 22:13:45 +0000 (23:13 +0100)
Forward the TARGET_LDFLAGS to the linking process.

Link: https://github.com/openwrt/openwrt/pull/20813
Signed-off-by: Hauke Mehrtens <[email protected]>
package/network/utils/comgt/Makefile

index 0e826e12cdc4d26085b92a53412a334355182ed8..f7e9693064e64cd0719b49c52a5349ae117f7dd0 100644 (file)
@@ -60,7 +60,7 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
-               LDFLAGS="" \
+               LDFLAGS="$(TARGET_LDFLAGS)" \
                comgt
 endef