summary refs log tree commit diff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-05 23:50:34 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-05 23:51:43 +0100
commitce1ef15b2577b439f433edfbea419afda047f421 (patch)
tree6296ccc1ad473e29a09bc8b311d2ba4ea2153942 /distro
parent53dcd5eea1479ad5bde7e6d17793687c83c54ad8 (diff)
downloadguix-ce1ef15b2577b439f433edfbea419afda047f421.tar.gz
distro: bash-final: Link with `-static-libgcc'.
* distro/packages/base.scm (bash-final): Pass through
  `static-libgcc-package'.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/base.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 16a22eb38f..4128ef58de 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -940,8 +940,11 @@ store.")
     ,@(alist-delete "gcc" %boot2-inputs)))
 
 (define-public bash-final
+  ;; Link with `-static-libgcc' to make sure we don't retain a reference
+  ;; to the bootstrap GCC.
   (package-with-bootstrap-guile
-   (package-with-explicit-inputs bash %boot3-inputs
+   (package-with-explicit-inputs (static-libgcc-package bash)
+                                 %boot3-inputs
                                  (current-source-location)
                                  #:guile %bootstrap-guile)))