guix-commits
[Top][All Lists]
Advanced

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

21/37: gnu: libfaketime: Adjust flags on riscv64-linux.


From: guix-commits
Subject: 21/37: gnu: libfaketime: Adjust flags on riscv64-linux.
Date: Thu, 14 Oct 2021 14:41:25 -0400 (EDT)

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

commit 0d66088ba4e13d3796e696f6005f0c3190a0bd57
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 c839f83..2093d09 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2836,7 +2836,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"



reply via email to

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