aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/binutils-pass2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/binutils-pass2.xml')
-rw-r--r--chapter05/binutils-pass2.xml13
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>