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 /chapter6/binutils.sh | |
parent | 9d68d5da4115353816ab4f6b1c7a4f5db43576f9 (diff) | |
parent | 887bf450c01c511a3f6d048d3db78e8edfb21e8a (diff) |
Merge branch 'master' into chapter7
Diffstat (limited to 'chapter6/binutils.sh')
-rw-r--r-- | chapter6/binutils.sh | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/chapter6/binutils.sh b/chapter6/binutils.sh index 5411f57..9b97c4b 100644 --- a/chapter6/binutils.sh +++ b/chapter6/binutils.sh @@ -1,14 +1,16 @@ +#!/bin/bash + mkdir -v build -cd build +cd build || exit 1 ../configure \ --prefix=/usr \ - --build=$(../config.guess) \ - --host=${LFS_TGT} \ + --build="$(../config.guess)" \ + --host="${LFS_TGT}" \ --disable-nls \ --enable-shared \ --disable-werror \ --enable-64-bit-bfd && make && -make DESTDIR=${LFS} -j1 install && -install -vm755 libctf/.libs/libctf.so.0.0.0 ${LFS}/usr/lib +make DESTDIR="${LFS}" -j1 install && +install -vm755 libctf/.libs/libctf.so.0.0.0 "${LFS}"/usr/lib |