aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gcc-pass2.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/gcc-pass2.xml')
-rw-r--r--chapter06/gcc-pass2.xml5
1 files changed, 2 insertions, 3 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index 6dd6f90a5..d10b403e9 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -88,10 +88,9 @@ cd build</userinput></screen>
<screen><userinput remap="configure">../configure \
--build=$(../config.guess) \
--host=$LFS_TGT \
- --prefix=/usr \
- CC_FOR_TARGET=$LFS_TGT-gcc \
- CXX_FOR_TARGET=$LFS_TGT-g++ \
+ --target=$LFS_TGT \
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
+ --prefix=/usr \
--with-build-sysroot=$LFS \
--enable-initfini-array \
--disable-nls \