guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: libfaketime: Adjust flags on riscv64-linux.


From: guix-commits
Subject: 02/02: gnu: libfaketime: Adjust flags on riscv64-linux.
Date: Sun, 22 Aug 2021 05:22:23 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit bb4f1eda03dc52a15e7220b8189050aa3b228bb7
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 7054db5..47914c7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2696,7 +2696,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-riscv?))
                            `(setenv "FAKETIME_COMPILE_CFLAGS"
                                     "-DFORCE_MONOTONIC_FIX 
-DFORCE_PTHREAD_NONVER")
                            `(setenv "FAKETIME_COMPILE_CFLAGS"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]