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:
Marius Bakke 2020-02-03 09:24:34 +01:00
parent a33eac038a
commit fedce7b2b4
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

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