diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-19 12:40:39 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-02-19 12:40:39 +0200 |
commit | 4eebb73295a8ffdaefcfb7940254ad9c18e4e5d4 (patch) | |
tree | 36e2f52e03c313ad00e305494041831c823a8a65 /gnu/packages/base.scm | |
parent | 15bce0144bb61a156b975c2d97d3edc4bcc3e68c (diff) | |
download | guix-4eebb73295a8ffdaefcfb7940254ad9c18e4e5d4.tar.gz |
gnu: coreutils: Disable 64-bit time_t on 32-bit systems.
Not all software is ready for 64-bit time in Guix. * gnu/packages/base.scm (coreutils)[arguments]: When building for a 32-bit system add a configure-flag to not use 64-bit time_t.
Diffstat (limited to 'gnu/packages/base.scm')
-rw-r--r-- | gnu/packages/base.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index b9fb09272d..558abf8492 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -416,6 +416,10 @@ used to apply commands with arbitrarily long arguments.") " test-renameatu" " test-utimensat"))) '()) + ,@(if (not (target-64bit?)) + ;; Not all software is ready for 64bit time_t. + '(#:configure-flags (list "--disable-year2038")) + '()) #:phases (modify-phases %standard-phases (add-before 'build 'patch-shell-references (lambda _ |