From 7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6 Mon Sep 17 00:00:00 2001 From: Alex Fan Date: Thu, 19 May 2022 18:38:45 +1000 Subject: sys-libs/libfaketime: fix test hang on riscv Closes: https://bugs.gentoo.org/844958 Signed-off-by: Alex Fan Signed-off-by: Yixun Lan --- sys-libs/libfaketime/libfaketime-0.9.9.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys-libs/libfaketime/libfaketime-0.9.9.ebuild') 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 } -- cgit v1.2.3-65-gdbad