[klibc] [klibc:master] Kbuild: Rename LLD to LD_IS_LLD

klibc-bot for Ben Hutchings ben at decadent.org.uk
Sat Dec 12 16:24:05 PST 2020


Commit-ID:  cfdeb8dda996056968167a6a9f8af42ff5511ffe
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cfdeb8dda996056968167a6a9f8af42ff5511ffe
Author:     Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Thu, 27 Aug 2020 18:27:36 +0100
Committer:  Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 12 Dec 2020 23:53:33 +0100

[klibc] Kbuild: Rename LLD to LD_IS_LLD

This more accurately reflects the meaning of the variable.

Signed-off-by: Ben Hutchings <ben at decadent.org.uk>

---
 scripts/Kbuild.klibc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index e0dfcd0c..a4be6cb4 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -84,8 +84,8 @@ KLIBCCFLAGS       :=
 KLIBCARCHINCFLAGS =
 KLIBCCRTSHARED    := $(KLIBCOBJ)/interp.o
 
-LLD               := $(shell $(LD) --version 2>&1 | grep LLD)
-LD_IMAGE_BASE_OPT := $(if $(LLD),--image-base,-Ttext-segment)
+LD_IS_LLD         := $(shell $(LD) --version 2>&1 | grep LLD)
+LD_IMAGE_BASE_OPT := $(if $(LD_IS_LLD),--image-base,-Ttext-segment)
 
 # Arch specific definitions for klibc
 include $(srctree)/$(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG


More information about the klibc mailing list