~ruther/guix-local

d6f80f187c4bc109dd4d8fc839cc376e7b11e593 — Ludovic Courtès 13 years ago dfb53ee
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'.
1 files changed, 3 insertions(+), 0 deletions(-)

M distro/packages/base.scm
M distro/packages/base.scm => distro/packages/base.scm +3 -0
@@ 428,6 428,9 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.")
~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\\[\\] =.*;")