diff --git a/sci-libs/geos/geos-3.13.1.ebuild b/sci-libs/geos/geos-3.13.1.ebuild index 02f5a3b751926..89f000cff4d49 100644 --- a/sci-libs/geos/geos-3.13.1.ebuild +++ b/sci-libs/geos/geos-3.13.1.ebuild @@ -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)