blob: 895254889c56fa150a71f03ac2b922708afc7b6f [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---
Patrick Williams520786c2023-06-25 16:20:36 -050013Upstream-Status: Pending
14
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015 Makefile | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18diff --git a/Makefile b/Makefile
Brad Bishop316dfdd2018-06-25 12:45:53 -040019index dc10fc5..40647be 100644
Brad Bishop6e60e8b2018-02-01 10:27:11 -050020--- a/Makefile
21+++ b/Makefile
22@@ -20,7 +20,7 @@ include $(srctree)/scripts/Kbuild.include
23 KLIBCROSS ?= $(CROSS_COMPILE)
24 export KLIBCROSS
25 export CC := $(KLIBCROSS)gcc
26-export LD := $(KLIBCROSS)ld
27+export LD := $(KLIBCROSS)ld.bfd
28 export AR := $(KLIBCROSS)ar
29 export RANLIB := $(KLIBCROSS)ranlib
30 export STRIP := $(KLIBCROSS)strip