summaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-04 18:58:53 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-04 18:58:53 +0100
commitc2d771fd1da27cc6393c16e7e0ad10336e629f28 (patch)
tree46cf9491cff168565201a86e3eb68bf161032c43 /distro
parentfdc78b72f8ba87a62c61f8acb6d7dbaf2b204fe0 (diff)
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.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/make-bootstrap.scm7
1 files changed, 6 insertions, 1 deletions
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)