sci-libs/geos: don't filter LTO

It was fixed upstream in >=3.13.0. I do get the mysterious virtual issue
w/ -fno-semantic-interposition and LTO but ignoring that and just filtering
it in that case.

Bug: https://bugs.gentoo.org/862702
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-07-25 08:39:12 +01:00
parent 3889a7ed17
commit b8030fc3dd

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cmake flag-o-matic
inherit cmake flag-o-matic toolchain-funcs
DESCRIPTION="Geometry engine library for Geographic Information Systems"
HOMEPAGE="https://libgeos.org/"
@@ -18,10 +18,7 @@ RESTRICT="!test? ( test )"
BDEPEND="doc? ( app-text/doxygen )"
src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/862702
# https://github.com/libgeos/geos/issues/1054
filter-lto
tc-is-lto && filter-flags -fno-semantic-interposition
local mycmakeargs=(
-DBUILD_DOCUMENTATION=$(usex doc)