瀏覽代碼

Merge r8278 to jh branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8281 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Huntwork 18 年之前
父節點
當前提交
400af5a817
共有 2 個文件被更改,包括 13 次插入1 次删除
  1. 4 0
      chapter01/changelog.xml
  2. 9 1
      chapter05/binutils-pass1.xml

+ 4 - 0
chapter01/changelog.xml

@@ -45,6 +45,10 @@
 	  creating an unwanted lib -> lib symlink inside of /tools/lib. Fix
 	  from Dan Nicholson.</para>
         </listitem>
+        <listitem>
+          <para>[dnicholson] - Added the <parameter>--disable-werror</parameter>
+          parameter to Binutils Pass 1.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

+ 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>