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.
This commit is contained in:
Ludovic Courtès 2013-01-04 18:58:53 +01:00
parent fdc78b72f8
commit c2d771fd1d

View file

@ -79,8 +79,13 @@ (define %static-inputs
'("--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)