From 76286f4bc5edb073a7e16f48fe6a44fa558d040d Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sat, 21 May 2016 01:32:16 +0000 Subject: [PATCH] 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 --- Makefile.inc1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index e44182f40a2..746cea546ef 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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