commit: fa1b0ff46e9a6039cf6d205b22250ca72ae5ab56
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Wed May 14 00:53:57 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 15 07:11:02 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1b0ff4
dot-a.eclass: exit early if static-libs use disabled
Otherwise it will try to run inside the build directory if there is a
static-libs use flag which is disabled.
llvm-bitcode-strip: error: './build/obj/lib/x509_x509path.o': The file was not
recognized as a valid object file
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/dot-a.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/dot-a.eclass b/eclass/dot-a.eclass
index 541c5b5c1269..f82e5da5be89 100644
--- a/eclass/dot-a.eclass
+++ b/eclass/dot-a.eclass
@@ -84,6 +84,8 @@ strip-lto-bytecode() {
# so we expect to be called on *something*, but nothing
was explicitly
# passed. Try scanning ${ED} automatically.
set -- "${ED}"
+ else
+ return
fi
fi