diff options
Diffstat (limited to 'chapter8/binutils.sh')
-rw-r--r-- | chapter8/binutils.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/chapter8/binutils.sh b/chapter8/binutils.sh index 4236b80..e3fe6c5 100644 --- a/chapter8/binutils.sh +++ b/chapter8/binutils.sh @@ -1,9 +1,8 @@ #!/bin/bash -set -e expect -c "spawn ls" -sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in +sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in && mkdir -v build cd build || exit 1 @@ -15,10 +14,10 @@ cd build || exit 1 --enable-shared \ --disable-werror \ --enable-64-bit-bfd \ - --with-system-zlib + --with-system-zlib && -make tooldir=/usr +make tooldir=/usr && -make tooldir=/usr -j1 install +make tooldir=/usr -j1 install && rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes}.a |