tools lib api: Respect CROSS_COMPILE for the linker
authorLucas Stach <l.stach@pengutronix.de>
Thu, 17 Mar 2016 17:27:50 +0000 (18:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Jun 2016 17:53:46 +0000 (14:53 -0300)
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

index 316f308a63ea691c4dfb258066a7f6e90bb8b199..67ff93ec1515791febc5a3fa674700481431ad4c 100644 (file)
@@ -10,6 +10,7 @@ endif
 
 CC = $(CROSS_COMPILE)gcc
 AR = $(CROSS_COMPILE)ar
+LD = $(CROSS_COMPILE)ld
 
 MAKEFLAGS += --no-print-directory