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. --- chapter8/coreutils.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chapter8/coreutils.sh') diff --git a/chapter8/coreutils.sh b/chapter8/coreutils.sh index 7909f26..f024bc8 100644 --- a/chapter8/coreutils.sh +++ b/chapter8/coreutils.sh @@ -1,7 +1,13 @@ #!/bin/bash +set -e patch -Np1 -i ../coreutils-"${VERSION}"-i18n-1.patch && +if [[ "$(uname -m)" = aarch64 ]]; then + patch -Np1 -i ../coreutils-"${VERSION}"-aarch64_fixes-1.patch +fi + + sed -i '/test.lock/s/^/#/' gnulib-tests/gnulib.mk && autoreconf -fiv && -- cgit v1.2.3-54-g00ecf