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
@ -2808,7 +2808,8 @@ portable to just about any platform.")
|
|||||||
;; 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…
x
Reference in New Issue
Block a user