aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 19:51:26 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-01-14 19:51:26 +0000
commit872cc74f362cbc9d0210d06056ea7f4d80422c04 (patch)
tree1518e9c1f765684445f70d782fc6951718d35c44
parent7557ca61d20387c8a2ec0c0990e7988e7c13da57 (diff)
Fix hardcoded reference to /tools in Chapter 6 glibc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10441 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/glibc.xml10
2 files changed, 14 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 19b882005..55f42648f 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -39,6 +39,11 @@
<para>2014-01-14</para>
<itemizedlist>
<listitem>
+ <para>[bdubbs] - Fix hardcoded reference to /tools in
+ Chapter 6 glibc. Fixes
+ <ulink url="&lfs-ticket-root;3466">#3466</ulink>.</para>
+ </listitem>
+ <listitem>
<para>[bdubbs] - Clean up /run and /tmp. Fixes
<ulink url="&lfs-ticket-root;3463">#3463</ulink>.</para>
</listitem>
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index d6fa9ad34..941b6d389 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -77,7 +77,7 @@ cd ../glibc-build</userinput></screen>
<para>Prepare Glibc for compilation:</para>
-<screen><userinput remap="configure">../glibc-&glibc-version;/configure \
+<screen><userinput remap="configure">SED=sed ../glibc-&glibc-version;/configure \
--prefix=/usr \
--disable-profile \
--enable-kernel=&min-kernel; \
@@ -87,6 +87,14 @@ cd ../glibc-build</userinput></screen>
<title>The meaning of the new configure options:</title>
<varlistentry>
+ <term><envar>SED=sed</envar></term>
+ <listitem>
+ <para>Setting this environment variable prevents a hard-coded
+ path to /tools/bin/sed.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><parameter>--libexecdir=/usr/lib/glibc</parameter></term>
<listitem>
<para>This changes the location of some auxillary files from the