From patchwork Tue Jan 6 16:46:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harald Geyer X-Patchwork-Id: 425746 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.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 69F11140082 for ; Wed, 7 Jan 2015 03:46:57 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id BD080289C6F; Tue, 6 Jan 2015 17:44:43 +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 89973289C6F for ; Tue, 6 Jan 2015 17:44:38 +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_FROM_MX=-3.1; rate: -7.6 Received: from mail.cosmopool.net (h1.radempa.de [176.9.142.194]) by arrakis.dune.hu (Postfix) with ESMTP for ; Tue, 6 Jan 2015 17:44:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.cosmopool.net (Postfix) with ESMTP id BB9ED903B41; Tue, 6 Jan 2015 17:46:44 +0100 (CET) Received: from mail.cosmopool.net ([127.0.0.1]) by localhost (mail.your-server.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 33FTuRLqIQOp; Tue, 6 Jan 2015 17:46:43 +0100 (CET) Received: from stardust.g4.wien.funkfeuer.at (178.113.142.148.wireless.dyn.drei.com [178.113.142.148]) by mail.cosmopool.net (Postfix) with ESMTPSA id 2BA06903A24; Tue, 6 Jan 2015 17:46:43 +0100 (CET) Received: from lambda (helo=stardust.g4.wien.funkfeuer.at) by stardust.g4.wien.funkfeuer.at with local-esmtp (Exim 4.80) (envelope-from ) id 1Y8XHD-0001nx-Dq; Tue, 06 Jan 2015 17:46:39 +0100 From: Harald Geyer To: Felix Fietkau MIME-Version: 1.0 Content-ID: <6939.1420562799.1@stardust.g4.wien.funkfeuer.at> Date: Tue, 06 Jan 2015 17:46:39 +0100 Message-Id: Cc: openwrt-devel@lists.openwrt.org Subject: [OpenWrt-Devel] [PATCH, RESEND] package/binutils: actually support the target toolchain 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: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" This fixes a bug, where ld on ARM EABI platforms expects OABI code. Signed-off-by: Harald Geyer --- Resending as I didn't get many comments the first time. This has been tested by me on mxs and by nwf on kirkwood. package/devel/binutils/Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/package/devel/binutils/Makefile b/package/devel/binutils/Makefile index cf77690..c5a0717 100644 --- a/package/devel/binutils/Makefile +++ b/package/devel/binutils/Makefile @@ -69,6 +69,8 @@ endef TARGET_CFLAGS += $(FPIC) -Wno-unused-value CONFIGURE_ARGS += \ + --host=$(REAL_GNU_TARGET_NAME) \ + --target=$(REAL_GNU_TARGET_NAME) \ --enable-shared \ --enable-install-libiberty \ --enable-install-libbfd