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
This commit is contained in:
Matthew Burgess 2013-03-13 17:08:08 +00:00
parent 53dbac2ee8
commit 64aa6f7e38
2 changed files with 18 additions and 1 deletions

View File

@ -39,6 +39,12 @@
<listitem>
<para>2013-03-13</para>
<itemizedlist>
<listitem>
<para>[matthew] - Fix a build issue with Check-0.9.9 on some hosts by
adding the &quot;sysroot&quot; feature to Binutils. Thanks to Billy
O'Connor, Yaacov-Yoseph Weiss and Pierre Labastie for the reports, and
to Pierre again for the fix.</para>
</listitem>
<listitem>
<para>[matthew] - Upgrade to Perl-5.16.3. Fixes
<ulink url="&lfs-ticket-root;3303">#3303</ulink>.</para>

View File

@ -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>