[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: libfaketime: Adjust flags on riscv64-linux.
From: |
guix-commits |
Subject: |
01/02: gnu: libfaketime: Adjust flags on riscv64-linux. |
Date: |
Sat, 5 Feb 2022 13:27:39 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit a1e84575a4bea5bbc9c742a32f2caebc48e0c587
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 22 12:19:38 2021 +0300
gnu: libfaketime: Adjust flags on riscv64-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: When building for
riscv64-linux adjust CFLAGS to make the package work.
---
gnu/packages/check.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 4115a5c22b..913c803a24 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2808,7 +2808,8 @@ portable to just about any platform.")
;; indefinitely. See README.packagers for more
information.
;; There are specific instructions to not enable more
flags
;; than absolutely needed.
- ,(if (target-ppc64le?)
+ ,(if (or (target-ppc64le?)
+ (target-riscv64?))
`(setenv "FAKETIME_COMPILE_CFLAGS"
"-DFORCE_MONOTONIC_FIX
-DFORCE_PTHREAD_NONVER")
`(setenv "FAKETIME_COMPILE_CFLAGS"