mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: grep: Skip Gnulib’s ‘test-year2038’ on i586-gnu.
* gnu/packages/base.scm (grep)[arguments]: Add #:make-flags. Change-Id: I262b6e677a40c37c14807a6189bd18c792099cae
This commit is contained in:
parent
461df5574f
commit
391ce2ea75
1 changed files with 8 additions and 0 deletions
|
@ -134,6 +134,14 @@ (define-public grep
|
|||
(arguments
|
||||
`(#:configure-flags
|
||||
(list "--enable-perl-regexp")
|
||||
|
||||
;; XXX: On 32-bit Hurd platforms, 'time_t' is defined as a 32-bit
|
||||
;; integer in 'hurd_types.defs', so this Gnulib test always fails.
|
||||
#:make-flags ,(if (and (not (%current-target-system))
|
||||
(string=? (%current-system) "i586-gnu"))
|
||||
''("XFAIL_TESTS=test-year2038")
|
||||
''())
|
||||
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'fix-egrep-and-fgrep
|
||||
|
|
Loading…
Reference in a new issue