aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 12:10:31 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-03-18 12:10:31 -0500
commit3da09fc4dbf0cf606485bef3a50d0e2264e1bc1c (patch)
tree2df132e1dbefe3fc1da4ebade9cc95c29d786aba
parentdc47dbbc2f82451837a0ff7df3985e09a5469493 (diff)
Add braces to LFS variable.
-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