Page MenuHomeFreeBSD

D15836.id43854.diff
No OneTemporary

D15836.id43854.diff

Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -653,7 +653,7 @@
# TOOLS_PREFIX set in BMAKE
XMAKE= ${BMAKE} \
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
- MK_GDB=no MK_LLD_IS_LD=${MK_LLD_BOOTSTRAP} MK_TESTS=no
+ MK_GDB=no MK_TESTS=no
# kernel-tools stage
KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
Index: gnu/usr.bin/binutils/ld/Makefile
===================================================================
--- gnu/usr.bin/binutils/ld/Makefile
+++ gnu/usr.bin/binutils/ld/Makefile
@@ -7,7 +7,8 @@
.PATH: ${SRCDIR}/ld
PROG= ld.bfd
-.if ${MK_LLD_IS_LD} == "no"
+.if (!defined(TOOLS_PREFIX) && ${MK_LLD_IS_LD} == "no") || \
+ (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} == "no")
MAN= ld.1
.else
MAN= ld.bfd.1
@@ -57,7 +58,8 @@
FILES= ${LDSCRIPTS:S|^|ldscripts/|}
FILESDIR= ${SCRIPTDIR}
-.if ${MK_LLD_IS_LD} == "no"
+.if (!defined(TOOLS_PREFIX) && ${MK_LLD_IS_LD} == "no") || \
+ (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} == "no")
LINKS= ${BINDIR}/ld.bfd ${BINDIR}/ld
.endif
Index: usr.bin/clang/lld/Makefile
===================================================================
--- usr.bin/clang/lld/Makefile
+++ usr.bin/clang/lld/Makefile
@@ -8,7 +8,8 @@
PACKAGE= lld
PROG_CXX= ld.lld
-.if ${MK_LLD_IS_LD} != "no"
+.if ${MK_LLD_IS_LD} != "no" || \
+ (defined(TOOLS_PREFIX) && ${MK_LLD_BOOTSTRAP} != "no")
SYMLINKS= ${PROG_CXX} ${BINDIR}/ld
MLINKS= ld.lld.1 ld.1
.endif

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 10:15 PM (8 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31936403
Default Alt Text
D15836.id43854.diff (1 KB)

Event Timeline