[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160318163815.qe7f7cwzis4riwnj@treble.redhat.com>
Date: Fri, 18 Mar 2016 11:38:15 -0500
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Lucas Stach <l.stach@...gutronix.de>, Jiri Olsa <jolsa@...nel.org>,
linux-kernel@...r.kernel.org, kernel@...gutronix.de,
patchwork-lst@...gutronix.de
Subject: Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker
On Fri, Mar 18, 2016 at 01:25:47PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Thu, Mar 17, 2016 at 06:27:50PM +0100, Lucas Stach escreveu:
> > This fixes cross compilation of libapi.
>
> Humm, I guess that tools/lib/subcmd/Makefile has the same problem? And
> there are also other cases where LD is not being set with CROSS_COMPILE,
> Jiri, is there something else at play here?
>
> /me needs to cross compile all this code...
Yeah, I already fixed the libsubcmd issue with commit c1d45c3abd49 in
tip/core/objtool. (Sorry, I probably should have CC'ed you and Jiri.)
>
> - Arnaldo
>
> > Signed-off-by: Lucas Stach <l.stach@...gutronix.de>
> > ---
> > 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
> >
> > --
> > 2.7.0
--
Josh
Powered by blists - more mailing lists