mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-14 07:00:32 -05:00
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.
This commit is contained in:
parent
f57883ec79
commit
a1e84575a4
1 changed files with 2 additions and 1 deletions
|
@ -2808,7 +2808,8 @@ (define-public libfaketime
|
||||||
;; indefinitely. See README.packagers for more information.
|
;; indefinitely. See README.packagers for more information.
|
||||||
;; There are specific instructions to not enable more flags
|
;; There are specific instructions to not enable more flags
|
||||||
;; than absolutely needed.
|
;; than absolutely needed.
|
||||||
,(if (target-ppc64le?)
|
,(if (or (target-ppc64le?)
|
||||||
|
(target-riscv64?))
|
||||||
`(setenv "FAKETIME_COMPILE_CFLAGS"
|
`(setenv "FAKETIME_COMPILE_CFLAGS"
|
||||||
"-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER")
|
"-DFORCE_MONOTONIC_FIX -DFORCE_PTHREAD_NONVER")
|
||||||
`(setenv "FAKETIME_COMPILE_CFLAGS"
|
`(setenv "FAKETIME_COMPILE_CFLAGS"
|
||||||
|
|
Loading…
Reference in a new issue