diff options
author | Gregory Becker <becker33@llnl.gov> | 2016-05-05 17:11:09 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2016-05-05 17:11:09 -0700 |
commit | 3fc1344865ef4456b75d92e0724050370a2e482b (patch) | |
tree | 4d1f06dedf0c9567d009e8db32f6530efa65883b /lib | |
parent | 11b62114bb69add79e5a86232562b24e42171717 (diff) | |
download | spack-3fc1344865ef4456b75d92e0724050370a2e482b.tar.gz spack-3fc1344865ef4456b75d92e0724050370a2e482b.tar.bz2 spack-3fc1344865ef4456b75d92e0724050370a2e482b.tar.xz spack-3fc1344865ef4456b75d92e0724050370a2e482b.zip |
temp
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/spec.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index a702030d1c..1d79ae6430 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -817,6 +817,8 @@ class Spec(object): elif 'variants' in node: for name, value in node['variants'].items(): spec.variants[name] = VariantSpec(name, value) + for name in FlagMap.valid_compiler_flags(): + spec.compiler_flags[name] = [] else: raise SpackRecordError("Did not find a valid format for variants in YAML file") |