From 1a3e6a31a791143c3075dab21a5d47a0f344cce5 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 25 Apr 2012 19:26:21 +0000 Subject: Merge changes developed and tested in the jh branch git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9831 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/binutils-pass2.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'chapter05/binutils-pass2.xml') diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index 0a3d2df52..cb96b62f0 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -54,19 +54,20 @@ cd ../binutils-build Prepare Binutils for compilation: -CC="$LFS_TGT-gcc -B/tools/lib/" \ -AR=$LFS_TGT-ar \ -RANLIB=$LFS_TGT-ranlib \ -../binutils-&binutils-version;/configure \ - --prefix=/tools \ - --disable-nls \ - --with-lib-path=/tools/lib + +CC=$LFS_TGT-gcc \ +AR=$LFS_TGT-ar \ +RANLIB=$LFS_TGT-ranlib \ +../binutils-&binutils-version;/configure \ + --prefix=/tools \ + --disable-nls \ + --with-lib-path=/tools/lib The meaning of the new configure options: - CC="$LFS_TGT-gcc -B/tools/lib/" AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib + CC="$LFS_TGT-gcc" AR=$LFS_TGT-ar RANLIB=$LFS_TGT-ranlib Because this is really a native build of Binutils, setting these variables ensures that the build system uses the cross-compiler and -- cgit v1.2.3-54-g00ecf