installer-script ARM CPU support

This commit is contained in:
Robin Gareus 2020-01-03 02:22:11 +01:00
parent 96316cb6b2
commit 241a16717e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 14 additions and 4 deletions

View File

@ -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