lkml.org 
[lkml]   [2015]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] perf: allow to specify custom linker command
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 <aaro.koskinen@nokia.com>

Acked-by: Jiri Olsa <jolsa@kernel.org>

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
>


\
 
 \ /
  Last update: 2015-07-01 15:21    [W:0.065 / U:0.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site