From ca7ec24a78f9bd8824da23be1c24a98a3c764f5f Mon Sep 17 00:00:00 2001 From: William Harrington Date: Mon, 19 Apr 2021 02:01:33 +0000 Subject: Make adjustments for Odroid N2+ aarch64 build. --- chapter6/coreutils.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chapter6/coreutils.sh') diff --git a/chapter6/coreutils.sh b/chapter6/coreutils.sh index 536fa52..86eaf5f 100644 --- a/chapter6/coreutils.sh +++ b/chapter6/coreutils.sh @@ -1,4 +1,9 @@ #!/bin/bash +set -e + +if [[ "$(uname -m)" = aarch64 ]]; then + patch -Np1 -i ../coreutils-"${VERSION}"-aarch64_fixes-1.patch +fi ./configure --prefix=/usr \ --host="${LFS_TGT}" \ -- cgit v1.2.3-54-g00ecf