From 81d4563101b890930e57bc5f9706ad24579d8fb4 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 16 Jun 2025 07:10:31 +0000 Subject: [PATCH] eclass/llvm-utils: Sync with Gentoo It's from Gentoo commit ebb5251f0eef8843d6c2dd78f4c2f71069420bfe. --- .../src/third_party/portage-stable/eclass/llvm-utils.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/llvm-utils.eclass b/sdk_container/src/third_party/portage-stable/eclass/llvm-utils.eclass index abe8bb7d7d..98fc814084 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/llvm-utils.eclass +++ b/sdk_container/src/third_party/portage-stable/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)