summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-03-17 18:27:50 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-06-03 19:53:46 +0200
commit703e01652d25edbd249e3043c26543157f0ef15c (patch)
tree470eae492ffdde0990e98bdbdd0c83cf0e36b220
parentperf evlist: Fix alloc_mmap() failure path (diff)
downloadlinux-703e01652d25edbd249e3043c26543157f0ef15c.tar.xz
linux-703e01652d25edbd249e3043c26543157f0ef15c.zip
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>
-rw-r--r--tools/lib/api/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/api/Makefile b/tools/lib/api/Makefile
index 316f308a63ea..67ff93ec1515 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