From c2d771fd1da27cc6393c16e7e0ad10336e629f28 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 4 Jan 2013 18:58:53 +0100 Subject: 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. --- distro/packages/make-bootstrap.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'distro') diff --git a/distro/packages/make-bootstrap.scm b/distro/packages/make-bootstrap.scm index a073ca8187..e4569c3173 100644 --- a/distro/packages/make-bootstrap.scm +++ b/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) -- cgit v1.2.3