From fa1b0ff46e9a6039cf6d205b22250ca72ae5ab56 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 14 May 2025 03:53:57 +0300 Subject: [PATCH] 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 Signed-off-by: Sam James --- eclass/dot-a.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/dot-a.eclass b/eclass/dot-a.eclass index 541c5b5c12698..f82e5da5be897 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