mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
sci-libs/gklib: fix no x86 arches compile
Closes: https://bugs.gentoo.org/905642 Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Closes: https://github.com/gentoo/gentoo/pull/30853 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -20,3 +20,13 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-multilib.patch"
|
||||
"${FILESDIR}/${P}-respect-user-flags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=()
|
||||
if ! use amd64 && ! use x86; then # bug 905642
|
||||
mycmakeargs+=(
|
||||
-DNO_X86=ON
|
||||
)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user