Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153396348
D15836.id43854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15836.id43854.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D15836: Rework how the ld link is handled in WORLDTMP from r322811.
Attached
Detach File
Event Timeline
Log In to Comment