From patchwork Thu Oct 29 20:51:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Tintel X-Patchwork-Id: 538038 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3D8321401F6 for ; Fri, 30 Oct 2015 07:51:31 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id D1E7528BE94; Thu, 29 Oct 2015 21:49:35 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A7B7C28BE4A for ; Thu, 29 Oct 2015 21:49:31 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .linux-ipv6. - helo: .andre.telenet-ops. - helo-domain: .telenet-ops.) FROM/MX_MATCHES_NOT_HELO(DOMAIN)=1; rate: -5.5 Received: from andre.telenet-ops.be (andre.telenet-ops.be [195.130.132.53]) by arrakis.dune.hu (Postfix) with ESMTP for ; Thu, 29 Oct 2015 21:49:30 +0100 (CET) Received: from taz.btm.lenio.be ([94.225.33.32]) by andre.telenet-ops.be with bizsmtp id b8rD1r0080hbnau018rDs0; Thu, 29 Oct 2015 21:51:14 +0100 From: Stijn Tintel To: openwrt-devel@lists.openwrt.org Date: Thu, 29 Oct 2015 21:51:12 +0100 Message-Id: <1446151872-17625-1-git-send-email-stijn@linux-ipv6.be> X-Mailer: git-send-email 2.4.10 Subject: [OpenWrt-Devel] [PATCH] iproute2: fix compile with uClibc-ng X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Stijn Tintel --- package/network/utils/iproute2/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 23834df..f5b5f4e 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -84,6 +84,9 @@ endif 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