From 79444a38fdbeacdb72bef4d2841ad38a964e2b65 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Mar 2026 07:26:34 +0000 Subject: [PATCH] eclass/llvm-utils: Sync with Gentoo It's from Gentoo commit 7f6abb01edf5a677c6286d12810b4a7cbccf437e. Signed-off-by: Flatcar Buildbot --- .../portage-stable/eclass/llvm-utils.eclass | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 98fc814084..c6cca05f79 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 @@ -6,21 +6,21 @@ # Michał Górny # @AUTHOR: # Michał Górny -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 7 8 9 # @BLURB: Common utility functions for building against installed LLVM # @DESCRIPTION: # The utility eclass providing shared functions reused between # llvm.eclass and llvm-r1.eclass. It may also be used directly # in ebuilds. -case ${EAPI} in - 7|8) ;; - *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; -esac - if [[ -z ${_LLVM_UTILS_ECLASS} ]]; then _LLVM_UTILS_ECLASS=1 +case ${EAPI} in + 7|8|9) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + # @FUNCTION: llvm_tuple_to_target # @USAGE: [] # @DESCRIPTION: