commit:     8fe607898ee5928079884c274a17baf38c26c5af
Author:     Krzesimir Nowak <knowak <AT> microsoft <DOT> com>
AuthorDate: Wed Jun 18 07:17:25 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 07:26:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe60789

eclass/dot-a: Make a variable local

Signed-off-by: Krzesimir Nowak <knowak <AT> microsoft.com>
Part-of: https://github.com/gentoo/gentoo/pull/42649
Closes: https://github.com/gentoo/gentoo/pull/42649
Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/dot-a.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/dot-a.eclass b/eclass/dot-a.eclass
index f82e5da5be89..ffd34d9e08aa 100644
--- a/eclass/dot-a.eclass
+++ b/eclass/dot-a.eclass
@@ -91,7 +91,7 @@ strip-lto-bytecode() {
 
        mapfile -t -d '' files < <(find -H "${@}" -type f \( -name '*.a' -or 
-name '*.o' \) -print0)
 
-       toolchain_type=
+       local toolchain_type=
        tc-is-gcc && toolchain_type=gnu
        tc-is-clang && toolchain_type=llvm
 

Reply via email to