Ticket #2053: binutils-pass1-no-werror.patch

File binutils-pass1-no-werror.patch, 2.1 KB (added by dnicholson@…, 17 years ago)

Add --disable-werror to binutils-pass1

  • BOOK/chapter01/changelog.xml

    diff --git a/BOOK/chapter01/changelog.xml b/BOOK/chapter01/changelog.xml
    index beaf755..6e18103 100644
    a b  
    3737-->
    3838
    3939    <listitem>
     40      <para>2007-08-04</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
     44          parameter to Binutils Pass 1.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>2007-07-31</para>
    4151      <itemizedlist>
    4252        <listitem>
  • BOOK/chapter05/binutils-pass1.xml

    diff --git a/BOOK/chapter05/binutils-pass1.xml b/BOOK/chapter05/binutils-pass1.xml
    index 4a4565e..2c3615f 100644
    a b cd ../binutils-build</userinput></screen>  
    6060    <para>Now prepare Binutils for compilation:</para>
    6161
    6262<screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \
    63     --prefix=/tools --disable-nls</userinput></screen>
     63    --prefix=/tools --disable-nls --disable-werror</userinput></screen>
    6464
    6565    <variablelist>
    6666      <title>The meaning of the configure options:</title>
    cd ../binutils-build</userinput></screen>  
    9393        </listitem>
    9494      </varlistentry>
    9595
     96      <varlistentry>
     97        <term><parameter>--disable-werror</parameter></term>
     98        <listitem>
     99          <para>This prevents the build from stopping in the event that there
     100          are warnings from the host's compiler.</para>
     101        </listitem>
     102      </varlistentry>
     103
    96104    </variablelist>
    97105
    98106    <para>Continue with compiling the package:</para>
  • BOOK/general.ent

    diff --git a/BOOK/general.ent b/BOOK/general.ent
    index a214f0a..92a178b 100644
    a b  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "SVN-20070731">
    3 <!ENTITY releasedate "July 31, 2007">
     2<!ENTITY version "SVN-20070804">
     3<!ENTITY releasedate "August 4, 2007">
    44<!ENTITY milestone "7.0">
    55<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
    66