mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: make-bootstrap: Fix statically-linked ‘grep’ compilation.
The ‘%static-inputs’ list is used by ‘bootstrap-tarballs’ for systems other than x86_64-linux and i686-linux. * gnu/packages/make-bootstrap.scm (%static-inputs): Pass ‘--disable-perl-regexp’ and remove ‘--enable-perl-regexp’ for grep. Change-Id: Id9cc8c026eee5031b00c1824624fe6da205d55eb
This commit is contained in:
parent
9fe0e5b353
commit
cfd67d36b5
1 changed files with 5 additions and 2 deletions
|
@ -267,9 +267,12 @@ (define %static-inputs
|
|||
(inputs '()) ;remove PCRE, which is optional
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments grep)
|
||||
((#:configure-flags flags #~'())
|
||||
#~(cons "--disable-perl-regexp"
|
||||
(delete "--enable-perl-regexp" #$flags)))
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'fix-egrep-and-fgrep)))))))
|
||||
#~(modify-phases #$phases
|
||||
(delete 'fix-egrep-and-fgrep)))))))
|
||||
(finalize (compose static-package
|
||||
package-with-relocatable-glibc)))
|
||||
(append (map finalize
|
||||
|
|
Loading…
Reference in a new issue