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.
This commit is contained in:
parent
15bce0144b
commit
4eebb73295
1 changed files with 4 additions and 0 deletions
|
@ -416,6 +416,10 @@ used to apply commands with arbitrarily long arguments.")
|
||||||
" test-renameatu"
|
" test-renameatu"
|
||||||
" test-utimensat")))
|
" 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
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'build 'patch-shell-references
|
(add-before 'build 'patch-shell-references
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in a new issue