mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
3f12743405
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1864 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
19 lines
766 B
XML
19 lines
766 B
XML
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup :</userinput> We
|
|
run this command in order to keep a backup of the file we are about to
|
|
change.</para>
|
|
|
|
<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup &&
|
|
sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \
|
|
-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \
|
|
lib/Makefile.in.backup > lib/Makefile.in:</userinput>
|
|
This is used to fix a problem with building fileutils statically on glibc 2.2.3
|
|
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>
|
|
|
|
</sect2>
|
|
|