gnu: util-linux: Disable 64bit time_t on the 32bit Hurd.

* gnu/packages/linux.scm (util-linux): Add --disable-year2038 configure-flag for
32bit hurd.
Change-Id: I5637bb9bf3c02759c7c9ed85c1f0bdf93bf03352

Change-Id: I387dc1559041956874c756d53382e5c8addf8202
This commit is contained in:
Yelninei 2025-05-11 12:20:43 +00:00 committed by Andreas Enge
parent efb6047bda
commit 310b02de41
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2775,7 +2775,12 @@ deviation, and minimum and maximum values. It can show a nice histogram too.")
;; Install completions where our bash-completion package
;; expects them.
(string-append "--with-bashcompletiondir=" #$output
"/etc/bash_completion.d"))
"/etc/bash_completion.d")
;; XXX: 32-bit Hurd platforms don't support 64bit time_t
#$@(if (and (target-hurd?)
(not (target-64bit?)))
'("--disable-year2038")
'()))
;; FIXME: For now we cannot reliably run tests on GNU/Hurd:
;; <https://bugs.gnu.org/47791>.