summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/pmdk/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pmdk/package.py b/var/spack/repos/builtin/packages/pmdk/package.py
index 2f8aca78e0..242a66297f 100644
--- a/var/spack/repos/builtin/packages/pmdk/package.py
+++ b/var/spack/repos/builtin/packages/pmdk/package.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
-import spack.architecture
class Pmdk(Package):
@@ -36,7 +35,7 @@ class Pmdk(Package):
# pmdk is particular about the ARCH specification, must be
# exactly "x86_64" for build to work
- if 'x86_64' in spack.architecture.sys_type():
+ if spec.target.family == 'x86_64':
make_args += ['ARCH=x86_64']
make("install", *make_args)