summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiccolò Belli <niccolo.belli@linuxsystems.it>2023-02-02 14:40:04 +0100
committerSam James <sam@gentoo.org>2023-02-17 08:58:47 +0000
commitb21e8670a2ef1239c1448a7b186dca41170756a5 (patch)
treee66586c13a77820e0e669d71559ce6d3d936fabb
parentdev-python/pytest-salt-factories: add github upstream metadata (diff)
downloadgentoo-b21e8670a2ef1239c1448a7b186dca41170756a5.tar.gz
gentoo-b21e8670a2ef1239c1448a7b186dca41170756a5.tar.bz2
gentoo-b21e8670a2ef1239c1448a7b186dca41170756a5.zip
dev-cpp/folly: fix build on ppc64
Bug: https://bugs.gentoo.org/892942 Signed-off-by: Niccolò Belli <niccolo.belli@linuxsystems.it> Closes: https://github.com/gentoo/gentoo/pull/29393 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-cpp/folly/folly-2023.02.06.00.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-cpp/folly/folly-2023.02.06.00.ebuild b/dev-cpp/folly/folly-2023.02.06.00.ebuild
index ec2a1bff52c6..0e6a15333d8f 100644
--- a/dev-cpp/folly/folly-2023.02.06.00.ebuild
+++ b/dev-cpp/folly/folly-2023.02.06.00.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
IUSE="llvm-libunwind test"
RESTRICT="!test? ( test )"
@@ -81,6 +81,9 @@ src_configure() {
-DLIB_INSTALL_DIR="$(get_libdir)"
-DBUILD_TESTS=$(usex test)
+
+ # https://github.com/gentoo/gentoo/pull/29393
+ -DCMAKE_LIBRARY_ARCHITECTURE=$(usex amd64 x86_64 ${ARCH})
)
cmake_src_configure