From e66170d0e61426f5443e7957bcd52b65b067653b Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 28 Jun 2024 14:32:46 +0200 Subject: CC toolchains: remove wrong reference to $(TOOLCHAIN) in PATH The environment variable PATH is taken literally by the shell, without any expansion. So, having a string like "$(TOOLCHAIN)/clang/bin" in PATH does not change anything as we do not have a directory with that name. Drop it for now. In the future we might add "bin dirs" to the CC toolchain as well, but as long as our rules do not support this, drop the wrong entry here. --- toolchains/CC/clang.TARGETS | 2 +- toolchains/CC/gcc.TARGETS | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'toolchains') diff --git a/toolchains/CC/clang.TARGETS b/toolchains/CC/clang.TARGETS index 8c95e0f..c68b1aa 100644 --- a/toolchains/CC/clang.TARGETS +++ b/toolchains/CC/clang.TARGETS @@ -89,7 +89,7 @@ } } , "toolchain": ["staged-clang"] - , "PATH": ["$(TOOLCHAIN)/clang/bin", "/bin", "/usr/bin"] + , "PATH": ["/bin", "/usr/bin"] } , "staged-clang": {"type": "install", "dirs": [[["", "toolchain"], "clang"]]} } diff --git a/toolchains/CC/gcc.TARGETS b/toolchains/CC/gcc.TARGETS index 5d17103..9a6d21b 100644 --- a/toolchains/CC/gcc.TARGETS +++ b/toolchains/CC/gcc.TARGETS @@ -38,7 +38,7 @@ , "else": [["@", "gcc", "", "runlibs"]] } , "toolchain": ["staged-gcc"] - , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] + , "PATH": ["/bin", "/usr/bin"] } , "staged-gcc": {"type": "install", "dirs": [[["", "toolchain"], "gcc"]]} } -- cgit v1.2.3