diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py index 11c74c9b7f..473b5c4092 100644 --- a/var/spack/repos/builtin/packages/openssl/package.py +++ b/var/spack/repos/builtin/packages/openssl/package.py @@ -6,7 +6,6 @@ import llnl.util.tty as tty from spack import * -import spack.architecture import os import re @@ -115,7 +114,7 @@ def install(self, spec, prefix): options.append('no-krb5') # clang does not support the .arch directive in assembly files. if ('clang' in self.compiler.cc or 'nvc' in self.compiler.cc) and \ - 'aarch64' in spack.architecture.sys_type(): + spec.target.family == 'aarch64': options.append('no-asm') # The default glibc provided by CentOS 7 does not provide proper