mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: libfaketime: Adjust flags on powerpc64le-linux.
* gnu/packages/check.scm (libfaketime)[arguments]: Adjust CFLAGS on powerpc64le-linux to make package work.
This commit is contained in:
parent
839e1eb085
commit
2a15e92766
1 changed files with 7 additions and 1 deletions
|
@ -2694,7 +2694,13 @@ (define-public libfaketime
|
||||||
|
|
||||||
;; XXX: Without this flag, the CLOCK_REALTIME test hangs
|
;; XXX: Without this flag, the CLOCK_REALTIME test hangs
|
||||||
;; indefinitely. See README.packagers for more information.
|
;; 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
|
(add-before 'check 'pre-check
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "test/functests/test_exclude_mono.sh"
|
(substitute* "test/functests/test_exclude_mono.sh"
|
||||||
|
|
Loading…
Reference in a new issue