summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-06-02 00:56:44 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-06-02 00:56:44 -0700
commit552cfac6ed05a2fba624a4318fd72797ec131976 (patch)
treecb2b3cb218b70bf6d67e410adc53d131f9b0533f
parent1fb4fa02e32bc259507f1ba17dcb9d552bbb63ac (diff)
parent817f43f92766bb37877888043eba6cecd9491f2e (diff)
downloadspack-552cfac6ed05a2fba624a4318fd72797ec131976.tar.gz
spack-552cfac6ed05a2fba624a4318fd72797ec131976.tar.bz2
spack-552cfac6ed05a2fba624a4318fd72797ec131976.tar.xz
spack-552cfac6ed05a2fba624a4318fd72797ec131976.zip
Merge pull request #1008 from LLNL/features/cflags-fix
Fixed config format to allow default compiler flags
-rw-r--r--lib/spack/spack/config.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/spack/spack/config.py b/lib/spack/spack/config.py
index ec37bd290c..88544aa7bb 100644
--- a/lib/spack/spack/config.py
+++ b/lib/spack/spack/config.py
@@ -167,6 +167,18 @@ section_schemas = {
{'type' : 'null' }]},
'fc': { 'anyOf': [ {'type' : 'string' },
{'type' : 'null' }]},
+ 'fflags': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
+ 'cppflags': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
+ 'cflags': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
+ 'cxxflags': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
+ 'ldflags': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
+ 'ldlibs': { 'anyOf': [ {'type' : 'string' },
+ {'type' : 'null' }]},
},},},},},},},},
'mirrors': {