Author: jhb
Date: Wed Nov 13 21:49:46 2019
New Revision: 354693
URL: https://svnweb.freebsd.org/changeset/base/354693

Log:
  Refine r354661 to unbreak the GCC_BOOTSTRAP case.
  
  MK_CLANG_IS_CC controls installing links for GCC, not just clang.  Set
  MK_CLANG_IS_CC to the value of MK_CLANG_BOOTSTRAP.  This will leave it
  as "no" if no bootstrap compiler is being built or GCC 4.2.1 is being
  used as the bootstrap compiler, and "yes" if clang is being used as
  the bootstrap compiler.
  
  Submitted by: bdrewery (kind of, he suggested this on IRC while I was
                          testing the original patch)
  Reviewed by:  kevans, imp
  Sponsored by: DARPA
  Differential Revision:        https://reviews.freebsd.org/D22350

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Wed Nov 13 21:02:18 2019        (r354692)
+++ head/Makefile.inc1  Wed Nov 13 21:49:46 2019        (r354693)
@@ -734,7 +734,7 @@ TMAKE=              \
 # TOOLS_PREFIX set in BMAKE
 XMAKE=         ${BMAKE} \
                TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \
-               MK_CLANG_IS_CC=yes \
+               MK_CLANG_IS_CC=${MK_CLANG_BOOTSTRAP} \
                MK_GDB=no MK_TESTS=no
 
 # kernel-tools stage
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to