Ignore:
Timestamp:
03/13/2013 05:08:08 PM (11 years ago)
Author:
Matthew Burgess <matthew@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
86ec58c
Parents:
53dbac2
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter05/binutils-pass2.xml

    r53dbac2 r64aa6f7  
    5757    --prefix=/tools        \
    5858    --disable-nls          \
    59     --with-lib-path=/tools/lib</userinput></screen>
     59    --with-lib-path=/tools/lib \
     60    --with-sysroot</userinput></screen>
    6061
    6162    <variablelist>
     
    7980          to the linker. This prevents the linker from searching through
    8081          library directories on the host.</para>
     82        </listitem>
     83      </varlistentry>
     84
     85      <varlistentry>
     86        <term><parameter>--with-sysroot</parameter></term>
     87        <listitem>
     88          <para>The sysroot feature enables the linker to find shared objects
     89          which are required by other shared objects explicitly included on the
     90          linker's command line. Without this, some packages may not build
     91          successfully on some hosts.</para>
    8192        </listitem>
    8293      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.