svn commit: r354693 - head

John Baldwin jhb at FreeBSD.org
Wed Nov 13 21:49:47 UTC 2019


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


More information about the svn-src-all mailing list