summaryrefslogtreecommitdiff
path: root/gnu/packages/make-bootstrap.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-01-30 11:33:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-01-30 12:39:40 +0200
commit4cf1acc7f3033b50b0bf19e02c9f522d522d338c (patch)
tree9fd64956ee60304c15387eb394cd649e49f01467 /gnu/packages/make-bootstrap.scm
parentedb8c09addd186d9538d43b12af74d6c7aeea082 (diff)
parent595b53b74e3ef57a1c0c96108ba86d38a170a241 (diff)
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
Diffstat (limited to 'gnu/packages/make-bootstrap.scm')
-rw-r--r--gnu/packages/make-bootstrap.scm22
1 files changed, 16 insertions, 6 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 977adbba190..94733583b8e 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2012-2021, 2023 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2017, 2021 Efraim Flashner <efraim@flashner.co.il> 3;;; Copyright © 2017, 2021 Efraim Flashner <efraim@flashner.co.il>
4;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> 4;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
5;;; Copyright © 2018, 2019 Mark H Weaver <mhw@netris.org> 5;;; Copyright © 2018, 2019 Mark H Weaver <mhw@netris.org>
@@ -709,6 +709,14 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
709 ;; doesn't try to link using libtool, and thus fails 709 ;; doesn't try to link using libtool, and thus fails
710 ;; because of a missing -ldl. Work around that. 710 ;; because of a missing -ldl. Work around that.
711 `(list "LDFLAGS=-ldl" "--enable-mini-gmp" 711 `(list "LDFLAGS=-ldl" "--enable-mini-gmp"
712
713 ;; Guile does an LTO build by default, but in 3.0.9 it
714 ;; wrongfully picks 'ar' instead of 'gcc-ar', so work around
715 ;; it (see <https://issues.guix.gnu.org/61086>).
716 ,@(if (version-prefix? "3.0" (package-version guile))
717 '("AR=gcc-ar" "RANLIB=gcc-ranlib")
718 '())
719
712 ,@(if (hurd-target?) 720 ,@(if (hurd-target?)
713 '("--disable-jit") 721 '("--disable-jit")
714 '()))) 722 '())))
@@ -751,6 +759,12 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
751 "guile-default-utf8.patch" 759 "guile-default-utf8.patch"
752 "guile-linux-syscalls.patch"))) 760 "guile-linux-syscalls.patch")))
753 761
762(define %guile-static-3.0
763 (make-guile-static guile-3.0-latest
764 '("guile-2.2-default-utf8.patch"
765 "guile-3.0-linux-syscalls.patch"
766 "guile-3.0-relocatable.patch")))
767
754(define* (make-guile-static-stripped static-guile) 768(define* (make-guile-static-stripped static-guile)
755 (package 769 (package
756 (inherit static-guile) 770 (inherit static-guile)
@@ -799,11 +813,7 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
799(define %guile-static-stripped 813(define %guile-static-stripped
800 ;; A stripped static Guile 3.0 binary, for use in initrds 814 ;; A stripped static Guile 3.0 binary, for use in initrds
801 ;; and during bootstrap. 815 ;; and during bootstrap.
802 (make-guile-static-stripped 816 (make-guile-static-stripped %guile-static-3.0))
803 (make-guile-static guile-3.0
804 '("guile-2.2-default-utf8.patch"
805 "guile-3.0-linux-syscalls.patch"
806 "guile-3.0-relocatable.patch"))))
807 817
808(define (tarball-package pkg) 818(define (tarball-package pkg)
809 "Return a package containing a tarball of PKG." 819 "Return a package containing a tarball of PKG."