Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 21:09:03 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r297998 - head
Message-ID:  <201604142109.u3EL935a039209@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604142109.u3EL935a039209>