Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 63ab5102d6ef362a597941e62470bf19e6f1652b Mon Sep 17 00:00:00 2001 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 11 Jul 2017 08:09:52 -0700 |
| 4 | Subject: [PATCH] always use bfd linker |
| 5 | |
| 6 | its possible that distros choose to default to gold linker |
| 7 | therefore explicitly asking for bfd linker would fix the |
| 8 | linking issues on such distros |
| 9 | |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 11 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 12 | --- |
| 13 | Makefile | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 17 | index dc10fc5..40647be 100644 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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 |