diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-05-22 19:48:00 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-05-23 20:59:05 +0200 |
| commit | ebb5251f0eef8843d6c2dd78f4c2f71069420bfe (patch) | |
| tree | 8f9899d60f8ace481bc0e8ebdbfdcecc6457e20f /eclass/llvm-utils.eclass | |
| parent | 0cd5afe4bd2b823721c0a7d7a5750fd15b6edf5c (diff) | |
| download | gentoo-ebb5251f0eef8843d6c2dd78f4c2f71069420bfe.tar.gz gentoo-ebb5251f0eef8843d6c2dd78f4c2f71069420bfe.tar.bz2 gentoo-ebb5251f0eef8843d6c2dd78f4c2f71069420bfe.zip | |
llvm-utils.eclass: Fix llvm_prepend_path w/ no '-d' and slot arg
Closes: https://bugs.gentoo.org/951975
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/42214
Closes: https://github.com/gentoo/gentoo/pull/42214
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/llvm-utils.eclass')
| -rw-r--r-- | eclass/llvm-utils.eclass | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/llvm-utils.eclass b/eclass/llvm-utils.eclass index abe8bb7d7d0f..98fc81408415 100644 --- a/eclass/llvm-utils.eclass +++ b/eclass/llvm-utils.eclass @@ -126,10 +126,9 @@ llvm_fix_tool_path() { llvm_prepend_path() { debug-print-function ${FUNCNAME} "$@" - local prefix - case ${1--d} in + local prefix=${ESYSROOT} + case ${1} in -d) - prefix=${ESYSROOT} shift ;; -b) |
