mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user