r935 - branches/2.4-branch/BOOK/chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Mon Dec 4 04:44:52 PST 2006


Author: robert
Date: 2006-12-04 05:44:49 -0700 (Mon, 04 Dec 2006)
New Revision: 935

Modified:
   branches/2.4-branch/BOOK/chapter06/findutils.xml
   branches/2.4-branch/BOOK/chapter06/m4.xml
   branches/2.4-branch/BOOK/chapter06/make.xml
   branches/2.4-branch/BOOK/chapter06/mktemp.xml
   branches/2.4-branch/BOOK/chapter06/zlib.xml
Log:
Removed -Wfatal-errors. This doesn't work with gcc-3.4

Modified: branches/2.4-branch/BOOK/chapter06/findutils.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/findutils.xml	2006-12-04 12:43:08 UTC (rev 934)
+++ branches/2.4-branch/BOOK/chapter06/findutils.xml	2006-12-04 12:44:49 UTC (rev 935)
@@ -42,7 +42,7 @@
 
 <screen role="warnings"><userinput>find . -type f -name Makefile.in -exec \
 sed 's/^CFLAGS =.*/& -Wformat -Wformat-security \\\
-    -Werror -Wfatal-errors/' -i.orig {} \;</userinput></screen>
+    -Werror/' -i.orig {} \;</userinput></screen>
 
     <para role="warnings">The <parameter>-D_FORTIFY_SOURCE=2</parameter> GCC option
     will produce a few warnings about unused return values. We can wrap the affected

Modified: branches/2.4-branch/BOOK/chapter06/m4.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/m4.xml	2006-12-04 12:43:08 UTC (rev 934)
+++ branches/2.4-branch/BOOK/chapter06/m4.xml	2006-12-04 12:44:49 UTC (rev 935)
@@ -37,7 +37,7 @@
     <para role="warnings">M4 can be compiled with warnings enabled:</para>
 
 <screen role="warnings"><userinput>find . -type f -name Makefile.in -exec \
-    sed 's/^CFLAGS =.*/& -Wall -Werror -Wfatal-errors/' -i.orig {} \;</userinput></screen>
+    sed 's/^CFLAGS =.*/& -Wall -Werror/' -i.orig {} \;</userinput></screen>
 
     <para>Prepare M4 for compilation:</para>
 

Modified: branches/2.4-branch/BOOK/chapter06/make.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/make.xml	2006-12-04 12:43:08 UTC (rev 934)
+++ branches/2.4-branch/BOOK/chapter06/make.xml	2006-12-04 12:44:49 UTC (rev 935)
@@ -39,7 +39,7 @@
 
 <screen role="warnings"><userinput>find . -type f -name Makefile.in -exec \
     sed 's/^CFLAGS =.*/& -Wall -Wformat-security \\\
-    -Werror -Wfatal-errors/' -i.orig {} \;</userinput></screen>
+    -Werror/' -i.orig {} \;</userinput></screen>
 
     <para role="warnings">The <parameter>-D_FORTIFY_SOURCE=2</parameter> GCC option
     will produce warnings about unused return values. The next command removes that

Modified: branches/2.4-branch/BOOK/chapter06/mktemp.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/mktemp.xml	2006-12-04 12:43:08 UTC (rev 934)
+++ branches/2.4-branch/BOOK/chapter06/mktemp.xml	2006-12-04 12:44:49 UTC (rev 935)
@@ -47,7 +47,7 @@
     <para role="warnings">Mktemp can be built with compiler warnings:</para>
 
 <screen role="warnings"><userinput>sed 's/^CFLAGS =.*/& -Wall -Wformat-security \\\
-    -Werror -Wfatal-errors/' -i.orig Makefile.in</userinput></screen>
+    -Werror/' -i.orig Makefile.in</userinput></screen>
 
     <para>Prepare Mktemp for compilation:</para>
 

Modified: branches/2.4-branch/BOOK/chapter06/zlib.xml
===================================================================
--- branches/2.4-branch/BOOK/chapter06/zlib.xml	2006-12-04 12:43:08 UTC (rev 934)
+++ branches/2.4-branch/BOOK/chapter06/zlib.xml	2006-12-04 12:44:49 UTC (rev 935)
@@ -49,7 +49,7 @@
 
 <screen role="warnings"><userinput>sed '0,/^# udpate Makefile/s//CFLAGS="$CFLAGS \\\
     -Wall -Wformat-security -Wwrite-strings -Wpointer-arith \\\
-    -Wstrict-prototypes -Wmissing-prototypes -Werror -Wfatal-errors"\n&/' \
+    -Wstrict-prototypes -Wmissing-prototypes -Werror"\n&/' \
     -i.orig configure</userinput></screen>
 
     <para>Prepare Zlib for compilation:</para>




More information about the hlfs-book mailing list