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@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-21 01:23:49 -04:00
parent 327c4130a4
commit 904b3b0687
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57

View File

@ -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
}