diff options
author | Mario Melara <maamelara@gmail.com> | 2016-12-13 13:58:03 -0800 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2016-12-13 13:58:03 -0800 |
commit | 01230a62d4de09b2fc95db5a98c5e4d63486b6f0 (patch) | |
tree | 1d144a4af675170b748983cc084d23e4e9f6c854 /lib | |
parent | 392ed4f0cc57ccbdb31c99ce21b69831a2820ef9 (diff) | |
download | spack-01230a62d4de09b2fc95db5a98c5e4d63486b6f0.tar.gz spack-01230a62d4de09b2fc95db5a98c5e4d63486b6f0.tar.bz2 spack-01230a62d4de09b2fc95db5a98c5e4d63486b6f0.tar.xz spack-01230a62d4de09b2fc95db5a98c5e4d63486b6f0.zip |
Change attribute to match ArchSpec refactor (#2579)
Fixes issue #2578
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 619877275d..501ace29b1 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -340,7 +340,7 @@ def set_build_environment_variables(pkg, env, dirty=False): env.prepend_path('PKG_CONFIG_PATH', pcdir) if pkg.architecture.target.module_name: - load_module(pkg.spec.architecture.target.module_name) + load_module(pkg.architecture.target.module_name) return env |