Changeset c0cd0ca in clfs-sysroot


Ignore:
Timestamp:
Nov 7, 2006, 3:01:10 PM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
3cf26f7
Parents:
a13e113
Message:

Added a sed to disable running the fixincludes script during the final system build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/gcc.xml

    ra13e113 rc0cd0ca  
    5454<screen os="e2"><userinput>cp gcc/gccbug.in{,.orig}
    5555sed 's/@have_mktemp_command@/yes/' gcc/gccbug.in.orig > gcc/gccbug.in</userinput></screen>
     56
     57    <para os="s1">The fixincludes attempts to "fix" the system headers
     58    installed so far. Since gcc is cross-compiled expecting the system
     59    headers to be in <filename class="directory">/usr/include</filename>
     60    the script will be looking at host headers. The following sed prevents
     61    the fixincludes script from running:</para>
     62
     63<screen os="s2"><userinput>cp gcc/Makefile.in{,.orig}
     64sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>
    5665
    5766    <para os="c">The GCC documentation recommends building GCC outside of the source
Note: See TracChangeset for help on using the changeset viewer.