[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates-frozen updated: gnu: libfaketime: Adjust flags on po
From: |
guix-commits |
Subject: |
branch core-updates-frozen updated: gnu: libfaketime: Adjust flags on powerpc64le-linux. |
Date: |
Sun, 22 Aug 2021 05:19:58 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch core-updates-frozen
in repository guix.
The following commit(s) were added to refs/heads/core-updates-frozen by this
push:
new 2a15e92 gnu: libfaketime: Adjust flags on powerpc64le-linux.
2a15e92 is described below
commit 2a15e9276686b00f302be40216c6e862884cb20b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 22 12:16:48 2021 +0300
gnu: libfaketime: Adjust flags on powerpc64le-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Adjust CFLAGS on
powerpc64le-linux to make package work.
---
gnu/packages/check.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ff3eb8b..7054db5 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2694,7 +2694,13 @@ portable to just about any platform.")
;; XXX: Without this flag, the CLOCK_REALTIME test
hangs
;; indefinitely. See README.packagers for more
information.
- (setenv "FAKETIME_COMPILE_CFLAGS"
"-DFORCE_MONOTONIC_FIX"))))
+ ;; There are specific instructions to not enable more
flags
+ ;; than absolutely needed.
+ ,(if (target-ppc64le?)
+ `(setenv "FAKETIME_COMPILE_CFLAGS"
+ "-DFORCE_MONOTONIC_FIX
-DFORCE_PTHREAD_NONVER")
+ `(setenv "FAKETIME_COMPILE_CFLAGS"
+ "-DFORCE_MONOTONIC_FIX")))))
(add-before 'check 'pre-check
(lambda _
(substitute* "test/functests/test_exclude_mono.sh"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates-frozen updated: gnu: libfaketime: Adjust flags on powerpc64le-linux.,
guix-commits <=