Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1417061

[tip:perf/core] tools lib api: Respect CROSS_COMPILE for the linker

From tip-bot for Lucas Stach <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:perf/core] tools lib api: Respect CROSS_COMPILE for the linker
Date 2016-06-08 10:40 +0200
Message-ID <rHHbR-6et-75@gated-at.bofh.it> (permalink)
References <rdJUe-1ST-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  703e01652d25edbd249e3043c26543157f0ef15c
Gitweb:     http://git.kernel.org/tip/703e01652d25edbd249e3043c26543157f0ef15c
Author:     Lucas Stach <l.stach@pengutronix.de>
AuthorDate: Thu, 17 Mar 2016 18:27:50 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Fri, 3 Jun 2016 14:53:46 -0300

tools lib api: Respect CROSS_COMPILE for the linker

This fixes cross compilation of libapi.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: kernel@pengutronix.de
Cc: patchwork-lst@pengutronix.de
Link: http://lkml.kernel.org/r/1458235670-27341-1-git-send-email-l.stach@pengutronix.de
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/lib/api/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index 316f308..67ff93e 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
 

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[tip:perf/core] tools lib api: Respect CROSS_COMPILE for the linker tip-bot for Lucas Stach <tipbot@zytor.com> - 2016-06-08 10:40 +0200

csiph-web