gnu: libfaketime: Fix build with glibc 2.31.
* gnu/packages/check.scm (libfaketime)[arguments]: Disable "deprecated-declarations" warnings before running the test suite.
This commit is contained in:
parent
a33eac038a
commit
fedce7b2b4
@ -2437,6 +2437,10 @@ portable to just about any platform.")
|
||||
(lambda _
|
||||
(substitute* "test/functests/test_exclude_mono.sh"
|
||||
(("/bin/bash") (which "bash")))
|
||||
|
||||
;; Do not fail due to use of 'ftime', which was deprecated in
|
||||
;; glibc 2.31. Remove this for later versions of libfaketime.
|
||||
(setenv "FAKETIME_COMPILE_CFLAGS" "-Wno-deprecated-declarations")
|
||||
#t)))
|
||||
#:test-target "test"))
|
||||
(native-inputs
|
||||
|
Loading…
Reference in New Issue
Block a user