1
0
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:
Bryan Drewery 2018-06-27 16:57:56 +00:00
parent 631e709f2b
commit eed6d55d26
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335707
2 changed files with 5 additions and 0 deletions

View File

@ -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" \

View File

@ -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.