diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-03-17 18:27:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-06-03 19:53:46 +0200 |
commit | 703e01652d25edbd249e3043c26543157f0ef15c (patch) | |
tree | 470eae492ffdde0990e98bdbdd0c83cf0e36b220 | |
parent | perf evlist: Fix alloc_mmap() failure path (diff) | |
download | linux-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/Makefile | 1 |
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 |