diff options
Diffstat (limited to 'chapter8/binutils.sh')
-rw-r--r-- | chapter8/binutils.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chapter8/binutils.sh b/chapter8/binutils.sh index e3fe6c5..43bf03b 100644 --- a/chapter8/binutils.sh +++ b/chapter8/binutils.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e expect -c "spawn ls" @@ -16,7 +17,8 @@ cd build || exit 1 --enable-64-bit-bfd \ --with-system-zlib && -make tooldir=/usr && +make tooldir=/usr \ + "$([ "$(uname -m)" = aarch64 ] && echo -j5)" && make tooldir=/usr -j1 install && |