diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2018-11-06 18:06:52 +0000 |
---|---|---|
committer | Alex Richardson <arichardson@FreeBSD.org> | 2018-11-06 18:06:52 +0000 |
commit | cd6b0f0ea5bfef511f5390198afe28daeea75ab6 (patch) | |
tree | f85e742d135c447a975c023ecb2d77b88fc63bce | |
parent | 4a1f3ed3543daf344ec5ea0dcd325908abf83ac0 (diff) | |
download | src-test2-cd6b0f0ea5bfef511f5390198afe28daeea75ab6.tar.gz src-test2-cd6b0f0ea5bfef511f5390198afe28daeea75ab6.zip |
Turn off BUILD_WITH_STRICT_TMPPATH by default
Building with a strict $PATH (without inheriting from the parent
environment) still causes build failures in some workflows/environemnts
that I have not yet tested.
I will try to bring this back once these issues have all been resolved
since it is actually extremely useful in tracking broken dependencies
and wrong assumptions about the build environemt.
Discussed With: brooks
Notes
Notes:
svn path=/head/; revision=340196
-rw-r--r-- | Makefile.inc1 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index bc0c094c9c41..383b7c7b3264 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -589,12 +589,11 @@ STRICTTMPPATH= ${XPATH}:${BPATH}:${UNIVERSE_TOOLCHAIN_PATH} # the build to break on other systems that don't have that tool. For now we # still allow using the old behaviour (inheriting $PATH) if # BUILD_WITH_STRICT_TMPPATH is set to 0 but this will eventually be removed. -.if ${USING_SYSTEM_LINKER} != "no" || ${USING_SYSTEM_COMPILER} != "no" -# strict $PATH does not work yet with USING_SYSTEM_LINKER/USING_SYSTEM_COMPILER + +# Currently strict $PATH can cause build failures and does not work yet with +# USING_SYSTEM_LINKER/USING_SYSTEM_COMPILER. Once these issues have been +# resolved it will be turned on by default. BUILD_WITH_STRICT_TMPPATH?=0 -.else -BUILD_WITH_STRICT_TMPPATH?=1 -.endif .if ${BUILD_WITH_STRICT_TMPPATH} != 0 TMPPATH= ${STRICTTMPPATH} .else |