Ignore:
Timestamp:
06/14/2014 07:51:45 PM (10 years ago)
Author:
DJ Lucas <dj@…>
Branches:
7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
c09761a
Parents:
6f34f43
Message:

Synchronized with LFS-SVN-20140611.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10576 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/binutils.xml

    r6f34f43 r61ce0b1  
    6565sed -i.bak '/^INFO/s/standards.info //' etc/Makefile.in</userinput></screen>
    6666
     67    <para>Add an upstream patch to use gcc's link time optimization (LTO)
     68    the default:</para>
     69
     70<screen><userinput remap="pre">patch -Np1 -i ../&binutils-lto-patch;</userinput></screen>
     71
    6772    <para>The Binutils documentation recommends building Binutils outside of the
    6873    source directory in a dedicated build directory:</para>
     
    7378    <para>Prepare Binutils for compilation:</para>
    7479
    75 <screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr --enable-shared</userinput></screen>
     80<screen><userinput remap="configure">../binutils-&binutils-version;/configure --prefix=/usr  \
     81                          --enable-shared \
     82                          --disable-werror</userinput></screen>
    7683
    7784    <para>Compile the package:</para>
     
    110117<screen><userinput remap="test">make check</userinput></screen>
    111118
     119    <para>Six tests in the lto.exp testsuite are known to fail due
     120    to changes in the most recent version of gcc.</para>
     121
    112122    <para>Install the package:</para>
    113123
    114124<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
    115 <!--
    116     <para>Install the <filename class="headerfile">libiberty</filename> header
    117     file that is needed by some packages:</para>
    118 
    119 <screen><userinput remap="install">cp -v ../binutils-&binutils-version;/include/libiberty.h /usr/include</userinput></screen>
    120 -->
     125
    121126  </sect2>
    122 
    123127
    124128  <sect2 id="contents-binutils" role="content">
Note: See TracChangeset for help on using the changeset viewer.