Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753892AbbGANE5 (ORCPT ); Wed, 1 Jul 2015 09:04:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47863 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753414AbbGANEr (ORCPT ); Wed, 1 Jul 2015 09:04:47 -0400 Date: Wed, 1 Jul 2015 15:04:44 +0200 From: Jiri Olsa To: Aaro Koskinen Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Jiri Olsa , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] perf: allow to specify custom linker command Message-ID: <20150701130444.GC9180@krava.brq.redhat.com> References: <1435751683-18500-1-git-send-email-aaro.koskinen@nokia.com> <1435751683-18500-2-git-send-email-aaro.koskinen@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435751683-18500-2-git-send-email-aaro.koskinen@nokia.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1185 Lines: 37 On Wed, Jul 01, 2015 at 02:54:43PM +0300, Aaro Koskinen wrote: > Allow to specify custom linker command. This fixes MIPS64 builds for > 64-bit userspace as it will allow to pass a linker using the correct > linker flags for 64-bit ABI (by default GNU binutils ld will assume N32). > > Signed-off-by: Aaro Koskinen Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/Makefile.perf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > index 14e823f..a3fbe65 100644 > --- a/tools/perf/Makefile.perf > +++ b/tools/perf/Makefile.perf > @@ -108,7 +108,7 @@ $(OUTPUT)PERF-VERSION-FILE: ../../.git/HEAD > $(Q)touch $(OUTPUT)PERF-VERSION-FILE > > CC = $(CROSS_COMPILE)gcc > -LD = $(CROSS_COMPILE)ld > +LD ?= $(CROSS_COMPILE)ld > AR = $(CROSS_COMPILE)ar > PKG_CONFIG = $(CROSS_COMPILE)pkg-config > > -- > 2.4.3 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/