Browse Source

Add --disable-werror to binutils-pass-1 for robustness

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8278 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Dan Nichilson 18 years ago
parent
commit
954ca05ade
3 changed files with 21 additions and 3 deletions
  1. 10 0
      chapter01/changelog.xml
  2. 9 1
      chapter05/binutils-pass1.xml
  3. 2 2
      general.ent

+ 10 - 0
chapter01/changelog.xml

@@ -36,6 +36,16 @@
     </listitem>
 -->
 
+    <listitem>
+      <para>2007-08-07</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
+          parameter to Binutils Pass 1.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2007-08-06</para>
       <itemizedlist>

+ 9 - 1
chapter05/binutils-pass1.xml

@@ -60,7 +60,7 @@ cd ../binutils-build</userinput></screen>
     <para>Now prepare Binutils for compilation:</para>
 
 <screen><userinput>CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \
-    --prefix=/tools --disable-nls</userinput></screen>
+    --prefix=/tools --disable-nls --disable-werror</userinput></screen>
 
     <variablelist>
       <title>The meaning of the configure options:</title>
@@ -93,6 +93,14 @@ cd ../binutils-build</userinput></screen>
         </listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><parameter>--disable-werror</parameter></term>
+        <listitem>
+          <para>This prevents the build from stopping in the event that there
+          are warnings from the host's compiler.</para>
+        </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <para>Continue with compiling the package:</para>

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20070806">
-<!ENTITY releasedate "August 6, 2007">
+<!ENTITY version "SVN-20070807">
+<!ENTITY releasedate "August 7, 2007">
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->