aboutsummaryrefslogtreecommitdiff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-10 00:09:25 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-10 00:09:25 +0100
commit4873f8ed9f79f8e20c8304f8ea1b4664df36fa3e (patch)
tree1b47cca747df7a2c68b9dd62430cbf8ae4fe5d0d /distro
parenta06a99ff779c7419c2e47c475b5c0fa8a9fc24c1 (diff)
downloadguix-4873f8ed9f79f8e20c8304f8ea1b4664df36fa3e.tar
guix-4873f8ed9f79f8e20c8304f8ea1b4664df36fa3e.tar.gz
distro: binutils: Add a "lib" output.
* distro/packages/base.scm (binutils): Add `outputs' field.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/base.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index cb0cb0fd79..bc705f16e7 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -353,6 +353,11 @@ that it is possible to use Make to build and install the program.")
"1a9w66v5dwvbnawshjwqcgz7km6kw6ihkzp6sswv9ycc3knzhykc"))))
(build-system gnu-build-system)
+ ;; Split Binutils in several outputs, mostly to avoid collisions in
+ ;; user profiles with GCC---e.g., libiberty.a.
+ (outputs '("out" ; ar, ld, binutils.info, etc.
+ "lib")) ; libbfd.a, bfd.h, etc.
+
;; TODO: Add dependency on zlib + those for Gold.
(native-inputs
`(("patch/new-dtags" ,(search-patch "binutils-ld-new-dtags.patch"))))