mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
Clang: Only build needed target for bootstrap compiler.
This will disable the new LLVM_TARGET_ALL option which will only enable the required target. This only impacts the bootstrap compiler in WORLDTMP, not the target compiler that will be installed. MFC after: 2 weeks Reviewed by: sbruno, dim (earlier version) Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D16021
This commit is contained in:
parent
631e709f2b
commit
eed6d55d26
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335707
@ -686,6 +686,9 @@ TMAKE= \
|
||||
XMAKE= ${BMAKE} \
|
||||
TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
|
||||
MK_GDB=no MK_TESTS=no
|
||||
.if empty(.MAKEOVERRIDES:MMK_LLVM_TARGET_ALL)
|
||||
XMAKE+= MK_LLVM_TARGET_ALL=no
|
||||
.endif
|
||||
|
||||
# kernel-tools stage
|
||||
KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \
|
||||
|
@ -1,2 +1,4 @@
|
||||
.\" $FreeBSD$
|
||||
Set to build support for all LLVM targets.
|
||||
This option is always applied to the bootstrap compiler for buildworld when
|
||||
LLVM is used.
|
||||
|
Loading…
Reference in New Issue
Block a user