aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/expect.xml4
-rw-r--r--chapter05/gcc-pass2.xml6
-rw-r--r--chapter05/glibc.xml8
-rw-r--r--chapter05/util-linux.xml6
4 files changed, 10 insertions, 14 deletions
diff --git a/chapter05/expect.xml b/chapter05/expect.xml
index e1a9d9dbc..d53394504 100644
--- a/chapter05/expect.xml
+++ b/chapter05/expect.xml
@@ -121,7 +121,7 @@ sed 's:/usr/local/bin:/bin:' configure.orig &gt; configure</userinput></screen>
<seglistitem>
<seg>expect</seg>
- <seg>libexpect-&expect-lib-version;.a</seg>
+ <seg>libexpect-&expect-lib-version;.so</seg>
</seglistitem>
</segmentedlist>
@@ -142,7 +142,7 @@ sed 's:/usr/local/bin:/bin:' configure.orig &gt; configure</userinput></screen>
</varlistentry>
<varlistentry id="libexpect">
- <term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
+ <term><filename class="libraryfile">libexpect-&expect-lib-version;.so</filename></term>
<listitem>
<para>Contains functions that allow Expect to be used as a Tcl
extension or to be used directly from C or C++ (without Tcl)</para>
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 310abb457..e96c469ad 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -64,9 +64,9 @@
that is exactly the same as if it were bootstrapped. Apply the following
<command>sed</command> command to force the build to use the flag:</para>
-<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp}
-sed 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
- &gt; gcc/Makefile.in</userinput></screen>
+<screen><userinput remap="pre">case `uname -m` in
+ i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
+esac</userinput></screen>
<para>Once again, change the location of GCC's default dynamic linker to
use the one installed in <filename
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 2fa9ccad8..b7df04edf 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -52,14 +52,6 @@
su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
fi</userinput></screen>
- <para>An upstream change needs to be reverted:</para>
-
-<screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &amp;/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>
-
- <para>Allow Glibc to be built using Make-&make-version;:</para>
-
-<screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
-
<para>The Glibc documentation recommends building Glibc outside of the source
directory in a dedicated build directory:</para>
diff --git a/chapter05/util-linux.xml b/chapter05/util-linux.xml
index 7156895c2..909fa6679 100644
--- a/chapter05/util-linux.xml
+++ b/chapter05/util-linux.xml
@@ -73,7 +73,11 @@
<term><envar>PKG_CONFIG=""</envar></term>
<listitem>
<para>Setting this envronment variable prevents adding unneeded
- features that may be available on the host.</para>
+ features that may be available on the host. Note that the location
+ shown for setting this environment variable is different from other
+ LFS sections where variables are set preceeding the command. This
+ location is shown to demonstrate an alternative way of setting an
+ environment variable when using configure.</para>
</listitem>
</varlistentry>
</variablelist>