Author: robert
Date: 2006-08-02 17:29:36 -0600 (Wed, 02 Aug 2006)
New Revision: 687

Modified:
   trunk/BOOK/chapter05/cocoon-toolchain.xml
   trunk/BOOK/chapter06/butterfly-toolchain.xml
Log:
Use -D_FORTIFY_SOURCE=2 instead of -DFORTIFY_SOURCE=2

Modified: trunk/BOOK/chapter05/cocoon-toolchain.xml
===================================================================
--- trunk/BOOK/chapter05/cocoon-toolchain.xml   2006-08-02 23:26:31 UTC (rev 
686)
+++ trunk/BOOK/chapter05/cocoon-toolchain.xml   2006-08-02 23:29:36 UTC (rev 
687)
@@ -357,7 +357,7 @@
 
 <para>This should return:</para>
 
-<screen><computeroutput>#define FORTIFY_SOURCE 2
+<screen><computeroutput>#define _FORTIFY_SOURCE 2
 #define __SSP_ALL__ 2
 #define __PIC__ 1</computeroutput></screen>
 

Modified: trunk/BOOK/chapter06/butterfly-toolchain.xml
===================================================================
--- trunk/BOOK/chapter06/butterfly-toolchain.xml        2006-08-02 23:26:31 UTC 
(rev 686)
+++ trunk/BOOK/chapter06/butterfly-toolchain.xml        2006-08-02 23:29:36 UTC 
(rev 687)
@@ -223,7 +223,7 @@
 
     <para>This should return:</para>
 
-<screen><computeroutput>#define FORTIFY_SOURCE 2
+<screen><computeroutput>#define _FORTIFY_SOURCE 2
 #define __SSP_ALL__ 2
 #define __PIC__ 1</computeroutput></screen></important>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to