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 @@ Command explanations +sed 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \ + lib/Makefile.in > tmp && +sed 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \ + tmp > lib/Makefile.in : 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. + --libexecdir=$LFS/bin: 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