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/tcl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chapter8/tcl.sh') diff --git a/chapter8/tcl.sh b/chapter8/tcl.sh index ba630df..244817a 100644 --- a/chapter8/tcl.sh +++ b/chapter8/tcl.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e tar -xf ../tcl"${VERSION}"-html.tar.gz --strip-components=1 && @@ -6,7 +7,7 @@ SRCDIR=$(pwd) cd unix || exit 1 ./configure --prefix=/usr \ --mandir=/usr/share/man \ - "$([ "$(uname -m)" = x86_64 ] && echo --enable-64bit)" && + "$([ "$(uname -m)" = x86_64 ] || [ "$(uname -m)" = aarch64 ] && echo --enable-64bit)" && make && -- cgit v1.2.3-54-g00ecf