eclass/llvm-utils: Sync with Gentoo

It's from Gentoo commit ebb5251f0eef8843d6c2dd78f4c2f71069420bfe.
This commit is contained in:
Flatcar Buildbot 2025-06-16 07:10:31 +00:00 committed by Krzesimir Nowak
parent 54e2a4b779
commit 81d4563101

View File

@ -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)