summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-01-03 02:22:11 +0100
committerRobin Gareus <robin@gareus.org>2020-01-03 02:25:10 +0100
commit241a16717e5aa9754d123fff48a8f4530e45b0ea (patch)
treea8733d746cb71af35acfcdf6ed3aa8251a4fabb9 /tools
parent96316cb6b274edb639deb906c6483dce3c143425 (diff)
installer-script ARM CPU support
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/stage2.run.in18
1 files 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