Keep inheriting $PATH when using system linker/compiler
I missed this case when testing r340157. For now just keep $PATH when we aren't bootstrapping a compiler so that the build can find cc/c++/ld without an absolute path. Reported by: yuripv
This commit is contained in:
parent
24ac7c3b27
commit
d3384db33c
@ -589,7 +589,12 @@ 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
|
||||
BUILD_WITH_STRICT_TMPPATH?=0
|
||||
.else
|
||||
BUILD_WITH_STRICT_TMPPATH?=1
|
||||
.endif
|
||||
.if ${BUILD_WITH_STRICT_TMPPATH} != 0
|
||||
TMPPATH= ${STRICTTMPPATH}
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user