From: Lucas Stach Date: Thu, 17 Mar 2016 17:27:50 +0000 (+0100) Subject: tools lib api: Respect CROSS_COMPILE for the linker X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=703e01652d25edbd249e3043c26543157f0ef15c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git tools lib api: Respect CROSS_COMPILE for the linker This fixes cross compilation of libapi. Signed-off-by: Lucas Stach Cc: Jiri Olsa 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 --- 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