diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-13 17:08:08 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-03-13 17:08:08 +0000 |
commit | 64aa6f7e383bbc77537ed2209c0b9a0b4bbfbc83 (patch) | |
tree | 1ca49735a00cc83a41079cd41257e2ea5ed8bb5f /chapter05/binutils-pass2.xml | |
parent | 53dbac2ee881c4dfa41796682e010aa711fa182b (diff) |
Add --with-sysroot to Binutils' pass 2 to fix build issues on certain hosts.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10203 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/binutils-pass2.xml')
-rw-r--r-- | chapter05/binutils-pass2.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chapter05/binutils-pass2.xml b/chapter05/binutils-pass2.xml index ca947482f..1cac61a18 100644 --- a/chapter05/binutils-pass2.xml +++ b/chapter05/binutils-pass2.xml @@ -56,7 +56,8 @@ RANLIB=$LFS_TGT-ranlib \ ../binutils-&binutils-version;/configure \ --prefix=/tools \ --disable-nls \ - --with-lib-path=/tools/lib</userinput></screen> + --with-lib-path=/tools/lib \ + --with-sysroot</userinput></screen> <variablelist> <title>The meaning of the new configure options:</title> @@ -81,6 +82,16 @@ RANLIB=$LFS_TGT-ranlib \ </listitem> </varlistentry> + <varlistentry> + <term><parameter>--with-sysroot</parameter></term> + <listitem> + <para>The sysroot feature enables the linker to find shared objects + which are required by other shared objects explicitly included on the + linker's command line. Without this, some packages may not build + successfully on some hosts.</para> + </listitem> + </varlistentry> + </variablelist> <para>Compile the package:</para> |