svn commit: r297998 - head

Bryan Drewery bdrewery at FreeBSD.org
Thu Apr 14 21:09:05 UTC 2016


Author: bdrewery
Date: Thu Apr 14 21:09:03 2016
New Revision: 297998
URL: https://svnweb.freebsd.org/changeset/base/297998

Log:
  META_MODE: Pass along the default sysroot in bootstrap-tools to avoid rebuilds later.
  
  Some of the clang libraries build in this phase and the cross-tools
  phase.  Later in the cross-tools phase when they build with a default
  TOOLS_PREFIX, they see a changed build command in meta mode due to
  the changed DEFAULT_SYSROOT.  This is avoided by passing along
  TOOLS_PREFIX earlier.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Thu Apr 14 21:06:10 2016	(r297997)
+++ head/Makefile.inc1	Thu Apr 14 21:09:03 2016	(r297998)
@@ -311,6 +311,7 @@ CROSSENV+=	${TARGET_CFLAGS}
 
 # bootstrap-tools stage
 BMAKEENV=	INSTALL="sh ${.CURDIR}/tools/install.sh" \
+		TOOLS_PREFIX=${WORLDTMP} \
 		PATH=${BPATH}:${PATH} \
 		WORLDTMP=${WORLDTMP} \
 		MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}"


More information about the svn-src-head mailing list