aboutsummaryrefslogtreecommitdiffstats
path: root/chapter5
diff options
context:
space:
mode:
Diffstat (limited to 'chapter5')
-rw-r--r--chapter5/binutils.sh1
-rw-r--r--chapter5/gcc.sh1
-rw-r--r--chapter5/glibc.sh1
-rw-r--r--chapter5/libstdc++.sh1
-rw-r--r--chapter5/linux-api-headers.sh1
5 files changed, 5 insertions, 0 deletions
diff --git a/chapter5/binutils.sh b/chapter5/binutils.sh
index 2d9da5b..5176d0c 100644
--- a/chapter5/binutils.sh
+++ b/chapter5/binutils.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir build
cd build || exit 1
diff --git a/chapter5/gcc.sh b/chapter5/gcc.sh
index 52079a4..84879c5 100644
--- a/chapter5/gcc.sh
+++ b/chapter5/gcc.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir -p mpfr gmp mpc
tar -xf ../mpfr-*.tar.xz -C mpfr --strip-components=1
diff --git a/chapter5/glibc.sh b/chapter5/glibc.sh
index edab0d3..7f52023 100644
--- a/chapter5/glibc.sh
+++ b/chapter5/glibc.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
case $(uname -m) in
i?86) ln -sfv ld-linux.so.2 "${LFS}"/lib/ld-lsb.so.3
diff --git a/chapter5/libstdc++.sh b/chapter5/libstdc++.sh
index d1be7dd..d8cb707 100644
--- a/chapter5/libstdc++.sh
+++ b/chapter5/libstdc++.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
mkdir -v build
cd build || exit 1
diff --git a/chapter5/linux-api-headers.sh b/chapter5/linux-api-headers.sh
index 3111625..41d7cfc 100644
--- a/chapter5/linux-api-headers.sh
+++ b/chapter5/linux-api-headers.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -e
make mrproper &&
make headers &&