aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-pass2.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2016-01-27 21:49:38 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2016-01-27 21:49:38 +0000
commitf1dd5475c93b2464957212d8e81b94d5b5af9630 (patch)
tree3bbe56582df3369e3cba8ded3acb77ab9009958c /chapter05/gcc-pass2.xml
parente408cb05608c2d009b2685f8302ef2a692c00266 (diff)
Move external build directories into dedicated build directories inside the
source tree for binutils, gcc, and glibc. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10991 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/gcc-pass2.xml')
-rw-r--r--chapter05/gcc-pass2.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index ec460e482..a8844ed7d 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -101,8 +101,8 @@ mv -v mpc-&mpc-version; mpc</userinput></screen>
-->
<para>Create a separate build directory again:</para>
-<screen><userinput remap="pre">mkdir -v ../gcc-build
-cd ../gcc-build</userinput></screen>
+<screen><userinput remap="pre">mkdir -v build
+cd build</userinput></screen>
<para>Before starting to build GCC, remember to unset any environment
variables that override the default optimization flags.</para>
@@ -113,7 +113,7 @@ cd ../gcc-build</userinput></screen>
CXX=$LFS_TGT-g++ \
AR=$LFS_TGT-ar \
RANLIB=$LFS_TGT-ranlib \
-../gcc-&gcc-version;/configure \
+../configure \
--prefix=/tools \
--with-local-prefix=/tools \
--with-native-system-header-dir=/tools/include \