diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:17:02 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-23 13:17:02 -0500 |
commit | 66d4171655e0b93766c82f50ce06521f85b58222 (patch) | |
tree | 1b6d1cbcbc169e5cbb4e6ea6698ed91d82d7cc88 /chapter5/libstdc++.sh | |
parent | 9d68d5da4115353816ab4f6b1c7a4f5db43576f9 (diff) | |
parent | 887bf450c01c511a3f6d048d3db78e8edfb21e8a (diff) |
Merge branch 'master' into chapter7
Diffstat (limited to 'chapter5/libstdc++.sh')
-rw-r--r-- | chapter5/libstdc++.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh index 1e21f35..d1be7dd 100644 --- a/chapter5/libstdc++.sh +++ b/chapter5/libstdc++.sh @@ -1,14 +1,16 @@ +#!/bin/bash + mkdir -v build -cd build +cd build || exit 1 ../libstdc++-v3/configure \ - --host=${LFS_TGT} \ - --build=$(../config.guess) \ + --host="${LFS_TGT}" \ + --build="$(../config.guess)" \ --prefix=/usr \ --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 +make -j1 DESTDIR="${LFS}" install |