gnu: findutils: Disable 64bit time_t on the 32bit Hurd.

* gnu/packages/base.scm (findutils): Add --disable-year2038 configure-flag for
32bit hurd.

Change-Id: I724f9e2807830d4b028a385e5e7c1f0d2e47e707
This commit is contained in:
Yelninei 2025-05-11 12:25:04 +00:00 committed by Andreas Enge
parent 6cebf0e1d5
commit efb6047bda
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -417,6 +417,11 @@ interactive means to merge two files.")
(build-system gnu-build-system)
(arguments
`(#:configure-flags (list
;; XXX: 32-bit Hurd platforms don't support 64bit time_t
,@(if (and (target-hurd?)
(not (target-64bit?)))
'("--disable-year2038")
'())
;; Tell 'updatedb' to write to /var.
"--localstatedir=/var")
#:phases (modify-phases %standard-phases