me
/
guix
Archived
1
0
Fork 0

gnu: libfaketime: Adjust flags on powerpc64le-linux.

* gnu/packages/check.scm (libfaketime)[arguments]: Adjust CFLAGS on
powerpc64le-linux to make package work.
master
Efraim Flashner 2021-08-22 12:16:48 +03:00
parent 839e1eb085
commit 2a15e92766
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 1 deletions

View File

@ -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"