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 14:53:46 -0300 |
commit | 703e01652d25edbd249e3043c26543157f0ef15c (patch) | |
tree | 470eae492ffdde0990e98bdbdd0c83cf0e36b220 /tools/lib/api | |
parent | 946ae1d41d4b0c77b9f63b4a0393d8a1283a7f9d (diff) | |
download | linux-703e01652d25edbd249e3043c26543157f0ef15c.tar.gz linux-703e01652d25edbd249e3043c26543157f0ef15c.tar.bz2 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>
Diffstat (limited to 'tools/lib/api')
-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 |