From patchwork Tue Mar 3 09:17:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 445590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 053451400DE for ; Tue, 3 Mar 2015 20:18:13 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="verification failed; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=sKlByjMx; dkim-adsp=none (unprotected policy); dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4CEC133439; Tue, 3 Mar 2015 09:18:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2lKuEwJZ84BC; Tue, 3 Mar 2015 09:18:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id EDBCF33504; Tue, 3 Mar 2015 09:18:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E237E1C0B50 for ; Tue, 3 Mar 2015 09:18:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D603C33502 for ; Tue, 3 Mar 2015 09:18:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oLqPnTZ27cE3 for ; Tue, 3 Mar 2015 09:17:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pd0-f180.google.com (mail-pd0-f180.google.com [209.85.192.180]) by silver.osuosl.org (Postfix) with ESMTPS id C668F2EDB7 for ; Tue, 3 Mar 2015 09:17:51 +0000 (UTC) Received: by pdbfl12 with SMTP id fl12so15781212pdb.5 for ; Tue, 03 Mar 2015 01:17:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=fFKMYdTEd4oWWQZHIvX+7pZl9QRPAMpDinUrKqxUW98=; b=sKlByjMxZk8ywRg4P+yNN/GKJzvp7z+eIPM1mXpSNAdXZ9BfxFpzQ5xHPXpLC/pzFU anrz2xz4WuT8EcIjQEcT+gcnX8QdAILryqydY9/53L3chMkv8ckTD+d1ZH1cCCrIq+Eb xGObTGWvo2l+qG6yXpC46lRUxdNA5LP+OygymGItOExVZTFLY5oeXsARmxfV7uXQmZ6k P3cGnxLN+0Vm5cuqMVhTDPz2lwZQI9UP1p1maXSqwzPRfvT9wEEvlSku+5ZHhxUv4L6f 9bRoK4DXH+i6YwtKQkGpOwSU5DOi5veHlwhxq1Nq6MwZlJrSEWHuWKoxTpzWP87MNs7a xmHg== X-Received: by 10.70.63.1 with SMTP id c1mr54592830pds.28.1425374271552; Tue, 03 Mar 2015 01:17:51 -0800 (PST) Received: from ld2077.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPSA id fs13sm323638pdb.38.2015.03.03.01.17.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 01:17:50 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 3 Mar 2015 10:17:08 +0100 Message-Id: <1425374255-6827-4-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.3.1 In-Reply-To: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> References: <1425374255-6827-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [RFC v3 03/30] iproute2: use the TARGET_LDFLAGS variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This is in order to support the per-package staging directory. Signed-off-by: Fabio Porcedda --- package/iproute2/iproute2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 0838463..5f144cd 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -59,7 +59,7 @@ endef define IPROUTE2_BUILD_CMDS $(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile - $(TARGET_MAKE_ENV) $(MAKE) \ + $(TARGET_MAKE_ENV) LDFLAGS="$(TARGET_LDFLAGS)" $(MAKE) \ DBM_INCLUDE="$(STAGING_DIR)/usr/include" \ CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D) endef