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>
This commit is contained in:
Alex Fan
2022-05-19 17:23:47 +08:00
committed by Yixun Lan
parent 4dce74d08b
commit 7179fbdc4e
@@ -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
}