From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757454AbcFAJST (ORCPT ); Wed, 1 Jun 2016 05:18:19 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:33058 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbcFAJSR (ORCPT ); Wed, 1 Jun 2016 05:18:17 -0400 Message-ID: <1464772693.25525.2.camel@pengutronix.de> Subject: Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker From: Lucas Stach To: Arnaldo Carvalho de Melo Cc: kernel@pengutronix.de, linux-kernel@vger.kernel.org, Jiri Olsa , patchwork-lst@pengutronix.de Date: Wed, 01 Jun 2016 11:18:13 +0200 In-Reply-To: <1458235670-27341-1-git-send-email-l.stach@pengutronix.de> References: <1458235670-27341-1-git-send-email-l.stach@pengutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:fa0f:41ff:fe58:4010 X-SA-Exim-Mail-From: l.stach@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, den 17.03.2016, 18:27 +0100 schrieb Lucas Stach: > This fixes cross compilation of libapi. > > Signed-off-by: Lucas Stach There has been a fair amount of discussion going on in reply to this patch, most of which had more general nature and didn't really discuss the content of this patch. Unfortunately it hasn't been applied, leaving the current mainline unable to cross compile libapi. Can we please apply this patch to fix this? Thanks, Lucas > --- > tools/lib/api/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile > index d85904dc9b38..9383bb866664 100644 > --- a/tools/lib/api/Makefile > +++ b/tools/lib/api/Makefile > @@ -10,6 +10,7 @@ endif > > CC = $(CROSS_COMPILE)gcc > AR = $(CROSS_COMPILE)ar > +LD = $(CROSS_COMPILE)ld > > MAKEFLAGS += --no-print-directory >