~ruther/guix-local

c2d771fd1da27cc6393c16e7e0ad10336e629f28 — Ludovic Courtès 13 years ago fdc78b7
distro: make-bootstrap: Make the Coreutils smaller.

* distro/packages/make-bootstrap.scm (%static-inputs)[coreutils]: Remove
  optional dependencies, except Perl; build with "-Os -g0"; disable
  tests.
1 files changed, 6 insertions(+), 1 deletions(-)

M distro/packages/make-bootstrap.scm
M distro/packages/make-bootstrap.scm => distro/packages/make-bootstrap.scm +6 -1
@@ 79,8 79,13 @@
                        '("--disable-nls"
                          "--disable-silent-rules"
                          "--enable-no-install-program=stdbuf,libstdbuf.so"
                          "CFLAGS=-Os -g0"        ; smaller, please
                          "LDFLAGS=-static -pthread")
                        ,@(package-arguments coreutils)))))
                        #:tests? #f   ; signal-related Gnulib tests fail
                        ,@(package-arguments coreutils)))

                     ;; Remove optional dependencies such as GMP.
                     (inputs `(,(assoc "perl" (package-inputs coreutils))))))
        (bzip2 (package (inherit bzip2)
                 (arguments
                  (substitute-keyword-arguments (package-arguments bzip2)