diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-01-16 02:14:55 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-01-16 02:14:55 +0000 |
commit | cde2ae7b0fd8f2f9de248a9a58094066d3b621b0 (patch) | |
tree | 5e86302f76824b8525d27c01b42093d414d50dd7 | |
parent | 7787e7e8403e6739ca9252fea93ae5e60d898c12 (diff) |
Set SED variable in gcc, not glibc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter06/gcc.xml | 13 | ||||
-rw-r--r-- | chapter06/glibc.xml | 11 |
2 files changed, 8 insertions, 16 deletions
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 76f9b8b4d..a418f43a7 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -70,7 +70,8 @@ cd ../gcc-build</userinput></screen> <para>Prepare GCC for compilation:</para> -<screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/usr \ +<screen><userinput remap="configure">SED=sed \ +../gcc-&gcc-version;/configure --prefix=/usr \ --libexecdir=/usr/lib \ --enable-shared \ --enable-threads=posix \ @@ -87,15 +88,15 @@ cd ../gcc-build</userinput></screen> <variablelist> <title>The meaning of the new configure option:</title> -<!-- + <varlistentry> - <term><parameter>- -disable-install-libiberty</parameter></term> + <term><envar>SED=sed</envar></term> <listitem> - <para>This prevents GCC from installing its own copy of libiberty, - which is already provided by Binutils-&binutils-version;.</para> + <para>Setting this environment variable prevents a hard-coded + path to /tools/bin/sed.</para> </listitem> </varlistentry> ---> + <varlistentry> <term><parameter>--with-system-zlib</parameter></term> <listitem> diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index 6d2ba0d12..d6fa9ad34 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -77,8 +77,7 @@ cd ../glibc-build</userinput></screen> <para>Prepare Glibc for compilation:</para> -<screen><userinput remap="configure">SED=sed \ -../glibc-&glibc-version;/configure \ +<screen><userinput remap="configure">../glibc-&glibc-version;/configure \ --prefix=/usr \ --disable-profile \ --enable-kernel=&min-kernel; \ @@ -88,14 +87,6 @@ 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 |