diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-12-27 19:20:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-12-27 19:20:18 +0100 |
commit | 856ae5e6c71a1283a414d33e638051f95d3cce35 (patch) | |
tree | c60e443f50b50be2fb8bbb4e5768ace140c9d217 /gnu | |
parent | 9a224ac2e37482cb69c2803648bf3c66fbc6eee9 (diff) | |
download | guix-patches-856ae5e6c71a1283a414d33e638051f95d3cce35.tar guix-patches-856ae5e6c71a1283a414d33e638051f95d3cce35.tar.gz |
build-system/gnu: Strip with '--strip-all' instead of '--strip-debug'.
This saves 19% on the 'bin' directory of Coreutils, and certainly
helpful for things like Git's 'libexec' directory.
* guix/build-system/gnu.scm (gnu-build): Change default value for
#:strip-flags to '("--strip-all").
* guix/build/gnu-build-system.scm (strip): Ditto.
* gnu/packages/linux.scm (linux-libre)[arguments]: Add #:strip-flags.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/linux.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9dc5f5cd40..53368251b5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -292,6 +292,11 @@ for SYSTEM, or #f if there is no configuration for SYSTEM." (alist-replace 'install ,install-phase (alist-delete 'configure %standard-phases))) + + ;; Use '--strip-debug', not '--strip-all', because the latter leads to + ;; unloadable modules (due to the lack of a symbol table.) + #:strip-flags '("--strip-debug") + #:tests? #f)) (synopsis "100% free redistribution of a cleaned Linux kernel") (description |