1From 63ab5102d6ef362a597941e62470bf19e6f1652b Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Tue, 11 Jul 2017 08:09:52 -0700 4Subject: [PATCH] always use bfd linker 5 6its possible that distros choose to default to gold linker 7therefore explicitly asking for bfd linker would fix the 8linking issues on such distros 9 10Signed-off-by: Khem Raj <raj.khem@gmail.com> 11 12--- 13 Makefile | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 15 16diff --git a/Makefile b/Makefile 17index dc10fc5..40647be 100644 18--- a/Makefile 19+++ b/Makefile 20@@ -20,7 +20,7 @@ include $(srctree)/scripts/Kbuild.include 21 KLIBCROSS ?= $(CROSS_COMPILE) 22 export KLIBCROSS 23 export CC := $(KLIBCROSS)gcc 24-export LD := $(KLIBCROSS)ld 25+export LD := $(KLIBCROSS)ld.bfd 26 export AR := $(KLIBCROSS)ar 27 export RANLIB := $(KLIBCROSS)ranlib 28 export STRIP := $(KLIBCROSS)strip 29