summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Fan <alex.fan.q@gmail.com>2022-05-19 18:38:45 +1000
committerYixun Lan <dlan@gentoo.org>2022-05-19 17:23:47 +0800
commit7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6 (patch)
treefaa873755fc462cc6619c3dab5b2267ff39fec93 /sys-libs/libfaketime
parentsys-boot/efibootmgr: keyword 17 for ~loong (diff)
downloadgentoo-7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6.tar.gz
gentoo-7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6.tar.bz2
gentoo-7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6.zip
sys-libs/libfaketime: fix test hang on riscv
Closes: https://bugs.gentoo.org/844958 Signed-off-by: Alex Fan <alex.fan.q@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'sys-libs/libfaketime')
-rw-r--r--sys-libs/libfaketime/libfaketime-0.9.9.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-libs/libfaketime/libfaketime-0.9.9.ebuild b/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
index 332eb881b2bd..fb0676fa5e48 100644
--- a/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
+++ b/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -28,6 +28,9 @@ src_prepare() {
# CLOCK_MONOTONIC test without that
append-cflags -DFORCE_MONOTONIC_FIX
+ # bug #844958
+ use riscv && append-cflags -DFORCE_PTHREAD_NONVER
+
multilib_copy_sources
}