commit: 2e6afd611a1f8c8e54669bf3a349d4c0d3448501
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 13 08:31:35 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 13 08:32:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6afd61
eclass/tests: restore old CC/AR in dot-a
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/tests/dot-a.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/eclass/tests/dot-a.sh b/eclass/tests/dot-a.sh
index 30f1ae1292bf..7f757a5789ed 100755
--- a/eclass/tests/dot-a.sh
+++ b/eclass/tests/dot-a.sh
@@ -509,9 +509,13 @@ _repeat_mixed_tests_with_linkers() {
# TODO: maybe test several files
mkdir -p "${tmpdir}/lto" || die
pushd "${tmpdir}/lto" >/dev/null || die
+CC_orig=${CC}
+AR_orig=${AR}
_create_test_progs
_repeat_tests_with_compilers
_repeat_mixed_tests_with_linkers
+CC=${CC_orig}
+AR=${AR_orig}
test_search_recursion
test_strip_nolto
texit