commit: 7485c08004313f10de541b3c96296c6ee82f1e4d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 7 18:08:19 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 7 18:12:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7485c080
dev-libs/boehm-gc: conditionally call lto-guarantee-fat
When we have USE=static-libs and that controls all static library use,
we can avoid adding -ffat-lto-objects for USE=-static-libs.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild
b/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild
index 009372bacf0c..bf231081512a 100644
--- a/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild
+++ b/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild
@@ -32,7 +32,7 @@ src_prepare() {
}
src_configure() {
- lto-guarantee-fat
+ use static-libs && lto-guarantee-fat
multilib-minimal_src_configure
}