dev-libs/keystone: filter LTO (ODR violations)

The ODR violations are in a bundled copy of LLVM and upstream seems to have
low activity, and no release in 4 years.

Closes: https://bugs.gentoo.org/924866
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-03-01 03:54:17 +00:00
parent 953dc612be
commit aed53bca3e
2 changed files with 8 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake distutils-r1
inherit cmake distutils-r1 flag-o-matic
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
@@ -75,6 +75,9 @@ src_prepare() {
}
src_configure() {
# ODR violations in bundled LLVM (bug #924866)
filter-lto
local libdir="$(get_libdir)"
local mycmakeargs=(
-DCMAKE_CONFIGURATION_TYPES="Gentoo"

View File

@@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit cmake distutils-r1
inherit cmake distutils-r1 flag-o-matic
DESCRIPTION="assembly/assembler framework + bindings"
HOMEPAGE="https://www.keystone-engine.org/"
@@ -71,6 +71,9 @@ src_prepare() {
}
src_configure() {
# ODR violations in bundled LLVM (bug #924866)
filter-lto
local libdir="$(get_libdir)"
local mycmakeargs=(
-DCMAKE_CONFIGURATION_TYPES="Gentoo"