diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-06-28 19:01:53 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-06-28 19:01:53 +0000 |
commit | 52b7824bde3152246210827e7cc0d36d6a625f52 (patch) | |
tree | 5c4e49de9c9821384981923950865caf3cad0bac /Makefile.inc1 | |
parent | b38b45af2faa0f3736ed53097e6e6b52e387afdf (diff) | |
download | src-52b7824bde3152246210827e7cc0d36d6a625f52.tar.gz src-52b7824bde3152246210827e7cc0d36d6a625f52.zip |
SYSTEM_COMPILER/LINKER: Fix cross-build support after r335706.
X-MFC-With: r335706
MFC after: 2 weeks
Sponsored by: Dell EMC
Notes
Notes:
svn path=/head/; revision=335771
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 2d03ce29cf6f..4fbb82d111ee 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -132,7 +132,7 @@ TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//:S/mipsn32/mips64/}-${TARGE # If all targets are disabled for system llvm then don't expect it to work # for cross-builds. -.if ${MK_LLVM_TARGET_ALL} == "no" && \ +.if !defined(TOOLS_PREFIX) && ${MK_LLVM_TARGET_ALL} == "no" && \ ${MACHINE} != ${TARGET} && ${MACHINE_ARCH} != ${TARGET_ARCH} && \ !make(showconfig) MK_SYSTEM_COMPILER= no |