blob: de04d691fe9c471192d901a70b36998c4a3f36f9 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001From 63ab5102d6ef362a597941e62470bf19e6f1652b Mon Sep 17 00:00:00 2001
Brad Bishop6e60e8b2018-02-01 10:27:11 -05002From: 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>
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012---
13 Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile b/Makefile
Brad Bishop316dfdd2018-06-25 12:45:53 -040017index dc10fc5..40647be 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018--- 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