commit: 904b3b06876a9051bfa1e7756738528c0135035a Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Aug 21 05:23:49 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Aug 21 17:22:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904b3b06
dev-db/duckdb: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/956435 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-db/duckdb/duckdb-1.3.2.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-db/duckdb/duckdb-1.3.2.ebuild b/dev-db/duckdb/duckdb-1.3.2.ebuild index d0931e56a88b..12e1e1314a29 100644 --- a/dev-db/duckdb/duckdb-1.3.2.ebuild +++ b/dev-db/duckdb/duckdb-1.3.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake dot-a DESCRIPTION="high-performance analytical database system" HOMEPAGE="https://duckdb.org https://github.com/duckdb/duckdb" @@ -26,6 +26,7 @@ src_prepare() { } src_configure() { + lto-guarantee-fat mycmakeargs=( "-DINSTALL_LIB_DIR=/usr/$(get_libdir)/" "-DOVERRIDE_GIT_DESCRIBE=v${PV}" "-DBUILD_EXTENSIONS='autocomplete;icu;tpch;tpcds;json;jemalloc'" @@ -33,3 +34,8 @@ src_configure() { ) cmake_src_configure } + +src_install() { + cmake_src_install + strip-lto-bytecode +}
