From dd8dfac5245d3bde2728f42ae839c3d3659cd20c Mon Sep 17 00:00:00 2001
From: Mark Hymers <markh@linuxfromscratch.org>
Date: Wed, 8 Aug 2001 19:54:10 +0000
Subject: [PATCH] added explanation

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
---
 chapter05/fileutils-exp.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml
index b5ebb1d7b..669ff58ba 100644
--- a/chapter05/fileutils-exp.xml
+++ b/chapter05/fileutils-exp.xml
@@ -1,6 +1,15 @@
 <sect2>
 <title>Command explanations</title>
 
+<para><screen><userinput>sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \</userinput>
+<userinput>	lib/Makefile.in &gt; tmp &amp;&amp;</userinput>
+<userinput>sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \</userinput>
+<userinput>	tmp &gt; lib/Makefile.in : </userinput></screen> This is used
+to fix a problem with building fileutils statically on AMD systems.  If
+this isn't done, then there is the possibility of all of the fileutils
+programs causing segmentation faults once chroot is entered in chapter
+6.</para>
+
 <para><userinput>--libexecdir=$LFS/bin:</userinput> This configure option will
 set the program executable directory to $LFS/bin. This is normally set
 to /usr/libexec, but nothing is placed in it. Changing it just prevents