Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/ppc64/yaboot.xml

    ra5f7c53e rdabbced  
    2424    <para>Existing multilib distributions alter gcc to default to 32-bit
    2525    output.  Because our gcc defaults to 64-bit, we need to pass appropriate
    26     options to both the compiler and the linker.  To prevent the build from
    27     failing due to compiler warnings, the -Werror flag is removed.  The
    28     Makefile already overrides any CC and ignores LDFLAGS in favour of
    29     its own variables, so we need to use the following seds for a
    30     successful compile and install.</para>
     26    options to both the compiler and the linker.  The Makefile already
     27    overrides any CC and ignores LDFLAGS in favour of its own variables, so we
     28    need to use the following seds for a successful compile and install.</para>
    3129
    3230<screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \
    33     -e "s/-Werror//" \
    3431    -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile
    3532</userinput></screen>
     
    4441          variable and inserts the flag to force <command>gcc</command> to
    4542          create 32-bit code when compiling yaboot.</para>
    46         </listitem>
    47       </varlistentry>
    48       <varlistentry>
    49         <term><parameter>"s/-Werror//"</parameter></term>
    50         <listitem>
    51           <para>This deletes the -Werror flag from the Makefile.</para>
    5243        </listitem>
    5344      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.