Author: cyrus
Date: 2015-06-19 15:30:18 +0200 (Fri, 19 Jun 2015)
New Revision: 46064

Modified:
   trunk/package/network/utils/iproute2/Makefile
Log:
iproute2: honor LDFLAGS

Signed-off-by: Steven Barth <[email protected]>

Modified: trunk/package/network/utils/iproute2/Makefile
===================================================================
--- trunk/package/network/utils/iproute2/Makefile       2015-06-19 11:12:43 UTC 
(rev 46063)
+++ trunk/package/network/utils/iproute2/Makefile       2015-06-19 13:30:18 UTC 
(rev 46064)
@@ -95,7 +95,7 @@
        EXTRA_CCOPTS="$(TARGET_CFLAGS) -I../include 
-I$(STAGING_DIR)/usr/include/libnl-tiny" \
        KERNEL_INCLUDE="$(LINUX_DIR)/include" \
        SHARED_LIBS="" \
-       LDFLAGS="-Wl,--gc-sections" \
+       LDFLAGS="$(TARGET_LDFLAGS) -Wl,--gc-sections" \
        IP_CONFIG_TINY=$(IP_CONFIG_TINY) \
        FPIC="$(FPIC)"
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to