guix-play/guix/build
Jakub Kądziołka f32a6055a5
build-system/gnu: strip with --strip-unneeded
Apart from debug information, one can also strip some symbols. This can
be a significant difference, qtbase:out consists of about 5 MB of those
symbols. As per [1], --strip-debug is included in --strip-unneeded, and
the debug files created also contain a copy of the information removed
by --strip-unneeded.

Linux From Scratch suggests that this option shouldn't be used on static
libraries [2], however other sources [3] indicate otherwise. Building a
toolchain with this patch succeeds, and the result works fine for
'gcc -static hello-world.c'.

[1]: https://stackoverflow.com/a/52555093
[2]: http://www.linuxfromscratch.org/lfs/view/9.1/chapter05/stripping.html
[3]: https://www.technovelty.org/linux/stripping-shared-libraries.html

* guix/build/gnu-build-system.scm (strip): Use --strip-unneeded.
2020-09-19 15:37:07 +02:00
..
maven guix: java-utils: Add Maven-related phases. 2020-07-17 04:10:28 +02:00
android-ndk-build-system.scm
android-repo.scm android-repo-download: Use parallel-job-count instead of hard-coding job 2020-09-03 00:09:38 +02:00
ant-build-system.scm
asdf-build-system.scm build: asdf-build-system: Use SBCL source in CL packages. 2020-05-21 11:53:06 +02:00
bournish.scm bournish: Prevent inlining of run-time support procedures. 2020-04-02 16:07:08 +02:00
bzr.scm
cargo-build-system.scm cargo-build-system: Accept a #:features argument 2020-03-23 19:30:38 +01:00
cargo-utils.scm
clojure-build-system.scm
clojure-utils.scm clojure-utils: Avoid use of '@@'. 2020-01-15 23:48:33 +01:00
cmake-build-system.scm build-system/cmake: Specify C++ compiler when cross-compiling. 2020-01-26 13:39:18 +01:00
compile.scm compile: Build gnu/{packages,tests}/* with '-O1'. 2020-06-22 15:42:55 +02:00
copy-build-system.scm build-system: copy-build-system: Keep symlinks symbolic. 2020-02-28 09:39:31 +01:00
cvs.scm
debug-link.scm
download-nar.scm Use guile-zlib extension in build-side code. 2020-08-24 10:41:06 +02:00
download.scm download: Delete the output file upon failure. 2020-03-22 00:02:23 +01:00
dub-build-system.scm
dune-build-system.scm
emacs-build-system.scm build-system/emacs: Hide the 'delete' binding from (guix build utils). 2020-05-07 15:14:46 +02:00
emacs-utils.scm build: emacs-utils: Add an option to select scoping for batch eval. 2020-03-22 21:17:38 -04:00
font-build-system.scm
git.scm
glib-or-gtk-build-system.scm
gnu-bootstrap.scm Add (guix build gnu-bootstrap). 2020-02-17 23:21:04 +01:00
gnu-build-system.scm build-system/gnu: strip with --strip-unneeded 2020-09-19 15:37:07 +02:00
gnu-dist.scm build-system/gnu: Fix 'install' phase of 'gnu-dist'. 2020-06-18 14:48:17 +02:00
go-build-system.scm build-system/go: Allow providing additional build flags 2020-04-08 12:24:42 +02:00
graft.scm
gremlin.scm
guile-build-system.scm
haskell-build-system.scm build-system/haskell: Do not pass "--bindir" during configure. 2020-08-13 16:44:56 +02:00
hg.scm
java-utils.scm guix: java-utils: Add Maven-related phases. 2020-07-17 04:10:28 +02:00
json.scm
julia-build-system.scm build: julia-build-system: Update for new Julia version. 2020-04-12 16:15:47 +03:00
linux-module-build-system.scm build-system: linux-module: Allow passing #:make-flags argument. 2020-06-02 14:22:32 +02:00
lisp-utils.scm guix: build: Fix asdf-build-system/ecl. 2020-07-01 16:14:21 +02:00
make-bootstrap.scm
maven-build-system.scm guix: Add maven-build-system. 2020-07-17 04:21:22 +02:00
meson-build-system.scm
minify-build-system.scm build: minify-build-system: Fail to install empty files. 2020-05-18 09:52:47 +03:00
node-build-system.scm guix: node-build-system: Do not symlink /bin. 2020-02-25 00:27:09 +01:00
ocaml-build-system.scm
perl-build-system.scm
po.scm po: Micro-optimize 'read-po-file'. 2020-06-23 00:03:08 +02:00
profiles.scm profiles: Add comment at the top of 'manifest' file. 2020-06-17 12:06:33 +02:00
python-build-system.scm build-system/python: Install to the python output if present. 2020-07-18 16:40:15 +02:00
qt-build-system.scm guix: qt-build-system: Add phase check-setup. 2020-01-28 13:03:08 +01:00
qt-utils.scm guix: Fix wrap-qt-program. 2019-11-26 12:31:39 +01:00
r-build-system.scm
rakudo-build-system.scm
rpath.scm
ruby-build-system.scm build: ruby-build-system: Remove an extraneous binding. 2020-09-01 13:19:08 -04:00
scons-build-system.scm
store-copy.scm build: store-copy: Export file-size procedure. 2020-05-05 16:08:32 +02:00
svn.scm
syscalls.scm syscalls: set-thread-name, thread-name: Fix thinko. 2020-06-08 16:49:03 +02:00
texlive-build-system.scm
union.scm
utils.scm utils: 'dump-port' has an optional 'len' parameter. 2020-09-10 11:57:11 +02:00
waf-build-system.scm