mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
8ae4c6d315
commit
fa1b0ff46e
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user