From 241a16717e5aa9754d123fff48a8f4530e45b0ea Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 3 Jan 2020 02:22:11 +0100 Subject: [PATCH] installer-script ARM CPU support --- tools/linux_packaging/stage2.run.in | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in index 75f48cc170..29955ffe4e 100755 --- a/tools/linux_packaging/stage2.run.in +++ b/tools/linux_packaging/stage2.run.in @@ -221,6 +221,16 @@ case `uname -m` in echo "Architecture is x86_64" ARCH='x86_64' ;; + arm|armv7l|aarch32) + echo "Architecture is armhf" + ARCH='armhf' + NOABICHECK=1 + ;;; + aarch64|armv8b) + echo "Architecture is arm64" + ARCH='arm64' + NOABICHECK=1 + ;; *) echo "" echo "!!! ERROR !!! - Unknown architecture `uname -m`" @@ -314,11 +324,11 @@ else fi fi -############################# -# Determine C11 stdlibc++ ABI -############################# +############################### +# Determine C++11 stdlibc++ ABI +############################### -if test -z "$ABI"; then +if test -z "$ABI" -a -z "$NOABICHECK"; then if %REPLACE_GCC5%; then # Ardour was compiled with gcc5, warn on gcc4 systems if ! "${PKG_PATH}/.gcc-glibmm-abi-check" --gcc5; then