diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:09:03 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-04-14 21:09:03 +0000 |
commit | 999759452e8b9cd0a50bd85d2285bb8183198e1c (patch) | |
tree | e818b12e406af1ad047b148f22a30bf04cf5379c /Makefile.inc1 | |
parent | b40d5fe0a7b8550ca5f6cfb5e750e946b12b1dcb (diff) | |
download | FreeBSD-src-999759452e8b9cd0a50bd85d2285bb8183198e1c.zip FreeBSD-src-999759452e8b9cd0a50bd85d2285bb8183198e1c.tar.gz |
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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 7d0238f..28dc8fb 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}" |