aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5
diff options
context:
space:
mode:
Diffstat (limited to 'chapter5')
-rw-r--r--chapter5/binutils.sh6
-rw-r--r--chapter5/libstdc++.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
index 870d34a..68da871 100644
--- a/chapter5/binutils.sh
+++ b/chapter5/binutils.sh
@@ -3,9 +3,9 @@
mkdir build
cd build
-../configure --prefix=$LFS/tools \
- --with-sysroot=$LFS \
- --target=$LFS_TGT \
+../configure --prefix=${LFS}/tools \
+ --with-sysroot=${LFS} \
+ --target=${LFS_TGT} \
--disable-nls \
--disable-werror &&
make &&
diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh
index 958bfa6..73380a8 100644
--- a/chapter5/libstdc++.sh
+++ b/chapter5/libstdc++.sh
@@ -10,7 +10,7 @@ cd build
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
- --with-gxx-include-dir=/tools/$LFS_TGT/include/c++/${VERSION} &&
+ --with-gxx-include-dir=/tools/${LFS_TGT}/include/c++/${VERSION} &&
make &&
make -j1 DESTDIR=${LFS} install \ No newline at end of file