mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
distro: gcc: Patch to allow builds without /bin/sh.
* distro/packages/base.scm (gcc-4.7): In `pre-configure' phase, patch shebang in `gcc/exec-tool.in'.
This commit is contained in:
parent
dfb53ee232
commit
d6f80f187c
1 changed files with 3 additions and 0 deletions
|
@ -428,6 +428,9 @@ (define-public gcc-4.7
|
|||
~a~%"
|
||||
libc line))))
|
||||
|
||||
;; Adjust hard-coded #!/bin/sh.
|
||||
(patch-shebang "gcc/exec-tool.in")
|
||||
|
||||
;; Don't retain a dependency on the build-time sed.
|
||||
(substitute* "fixincludes/fixincl.x"
|
||||
(("static char const sed_cmd_z\\[\\] =.*;")
|
||||
|
|
Loading…
Reference in a new issue