Author: nbd
Date: 2015-10-30 16:20:41 +0100 (Fri, 30 Oct 2015)
New Revision: 47291

Modified:
   trunk/package/network/utils/iproute2/Makefile
Log:
iproute2: fix compile with uClibc-ng

Signed-off-by: Stijn Tintel <[email protected]>

Modified: trunk/package/network/utils/iproute2/Makefile
===================================================================
--- trunk/package/network/utils/iproute2/Makefile       2015-10-30 15:20:12 UTC 
(rev 47290)
+++ trunk/package/network/utils/iproute2/Makefile       2015-10-30 15:20:41 UTC 
(rev 47291)
@@ -84,6 +84,9 @@
 ifdef CONFIG_USE_MUSL
   TARGET_CFLAGS += -DHAVE_SETNS
 endif
+ifdef CONFIG_UCLIBC_USE_VERSION_NG
+  TARGET_CFLAGS += -DHAVE_SETNS
+endif
 
 TARGET_CFLAGS += -ffunction-sections -fdata-sections
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to