summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2025-05-11 12:20:43 +0000
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:33 +0200
commit310b02de41bd69e807e49cc595a7361d13c4abe6 (patch)
treea02a52b3c5c0695638d975acd92333f19de80aea /gnu
parentefb6047bdace94c084e4de32c653d91b8239d618 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/linux.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index a89d2c21500..e8fc9ee26c3 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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>.