Browse Source

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.
gn-latest-20200428
Ludovic Courtès 9 years ago
parent
commit
c2d771fd1d
  1. 7
      distro/packages/make-bootstrap.scm

7
distro/packages/make-bootstrap.scm

@ -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)

Loading…
Cancel
Save