svn commit: r300352 - head
Bryan Drewery
bdrewery at FreeBSD.org
Sat May 21 01:32:18 UTC 2016
Author: bdrewery
Date: Sat May 21 01:32:16 2016
New Revision: 300352
URL: https://svnweb.freebsd.org/changeset/base/300352
Log:
Enable external compiler logic if both bootstrap compilers are disabled.
Reviewed by: brooks
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D6358
Modified:
head/Makefile.inc1
Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1 Sat May 21 01:32:13 2016 (r300351)
+++ head/Makefile.inc1 Sat May 21 01:32:16 2016 (r300352)
@@ -460,7 +460,8 @@ BFLAGS+= -B${CROSS_BINUTILS_PREFIX}
.endif
# External compiler needs sysroot and target flags.
-.if ${MK_CROSS_COMPILER} == "no"
+.if ${MK_CROSS_COMPILER} == "no" || \
+ (${MK_CLANG_BOOTSTRAP} == "no" && ${MK_GCC_BOOTSTRAP} == "no")
.if !defined(CROSS_BINUTILS_PREFIX) || !exists(${CROSS_BINUTILS_PREFIX})
BFLAGS+= -B${WORLDTMP}/usr/bin
.endif
More information about the svn-src-head
mailing list