summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinqiang zhang <peeweep@0x0.ee>2023-05-03 17:34:02 +0800
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-05-03 11:40:00 +0200
commit4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126 (patch)
treeabf245219caa7da9a3302389978395ae09fb4e5f /sci-libs
parentprofiles: mask gone (para)metis versions to force upgrades (diff)
downloadgentoo-4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126.tar.gz
gentoo-4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126.tar.bz2
gentoo-4d7cf0eeaf5bb2224ea449e63f6cfa15cf8a7126.zip
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>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild b/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild
index fb97bbd3e2ac..e12efc7216ba 100644
--- a/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild
+++ b/sci-libs/gklib/gklib-5.1.1_p20230327-r1.ebuild
@@ -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
+}