From fdff4951ca6d3c9b9d3e5cc69fc48a3259f8a375 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 14 Apr 2016 21:09:03 +0000 Subject: [PATCH] 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 --- Makefile.inc1 | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.inc1 b/Makefile.inc1 index 7d0238f599a..28dc8fbfc4e 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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}"