From cd6b0f0ea5bfef511f5390198afe28daeea75ab6 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Tue, 6 Nov 2018 18:06:52 +0000 Subject: [PATCH] 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 --- Makefile.inc1 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index bc0c094c9c4..383b7c7b326 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