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 /chapter06/gcc.xml | |
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
Diffstat (limited to 'chapter06/gcc.xml')
-rw-r--r-- | chapter06/gcc.xml | 13 |
1 files changed, 7 insertions, 6 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> |