diff --git a/adm/templates/env.build.sh.in b/adm/templates/env.build.sh.in index 3026d4c1f1..5eda5a5b35 100644 --- a/adm/templates/env.build.sh.in +++ b/adm/templates/env.build.sh.in @@ -21,7 +21,7 @@ shopt -u nocasematch # ----- Set path to 3rd party and OCCT libraries ----- anArch=`uname -m` -if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ]; then +if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ] && [ "$anArch" != "aarch64"]; then export ARCH="32"; else export ARCH="64"; diff --git a/adm/templates/env.install.sh.in b/adm/templates/env.install.sh.in index 36254ff8cb..8bb43081bd 100644 --- a/adm/templates/env.install.sh.in +++ b/adm/templates/env.install.sh.in @@ -23,7 +23,7 @@ shopt -u nocasematch # ----- Set path to 3rd party and OCCT libraries ----- anArch=`uname -m` -if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ]; then +if [ "$anArch" != "x86_64" ] && [ "$anArch" != "ia64" ] && [ "$anArch" != "aarch64"]; then export ARCH="32"; else export ARCH="64";