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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to