aboutsummaryrefslogtreecommitdiff
path: root/distro/packages/make-bootstrap.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-16 00:23:06 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-16 00:23:06 +0100
commit01d45404f69025c757c1800e8b64fdd29a8134a6 (patch)
tree650e367a54d2193bf85ead0bde52bc5c0a4390bb /distro/packages/make-bootstrap.scm
parentec4d308a9e306e8784c324a2f8511e27c50f9dff (diff)
downloadgnu-guix-01d45404f69025c757c1800e8b64fdd29a8134a6.tar
gnu-guix-01d45404f69025c757c1800e8b64fdd29a8134a6.tar.gz
distro: Configure ld and GCC to not look under /usr & co.
This fixes impurities with non-chroot builds on LFS-style distros. * distro/packages/base.scm (binutils): Pass `--with-lib-path'. (gcc-4.7): Pass `--with-local-prefix'. * distro/packages/make-bootstrap.scm (%binutils-static): Pass `--with-lib-path'.
Diffstat (limited to 'distro/packages/make-bootstrap.scm')
-rw-r--r--distro/packages/make-bootstrap.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/distro/packages/make-bootstrap.scm b/distro/packages/make-bootstrap.scm
index 3bc6e6b542..10e3d92735 100644
--- a/distro/packages/make-bootstrap.scm
+++ b/distro/packages/make-bootstrap.scm
@@ -225,7 +225,7 @@
(package (inherit binutils)
(name "binutils-static")
(arguments
- `(#:configure-flags '("--disable-gold")
+ `(#:configure-flags '("--disable-gold" "--with-lib-path=/no-ld-lib-path")
#:strip-flags '("--strip-all")
#:phases (alist-cons-before
'configure 'all-static