diff options
-rw-r--r-- | lib/spack/spack/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 26335ed2ff..9d0deaff25 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -1509,6 +1509,7 @@ class PackageBase(with_metaclass(PackageMeta, PackageViewMixin, object)): ) if not compilers: dep = spack.compilers.pkg_spec_for_compiler(self.spec.compiler) + dep.architecture = self.spec.architecture # concrete CompilerSpec has less info than concrete Spec # concretize as Spec to add that information dep.concretize() |