From 817f43f92766bb37877888043eba6cecd9491f2e Mon Sep 17 00:00:00 2001
From: Gregory Becker <becker33@llnl.gov>
Date: Tue, 31 May 2016 13:39:25 -0700
Subject: [PATCH] Fixed config format to allow default compiler flags

---
 lib/spack/spack/config.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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 @@
                                                         {'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': {
-- 
GitLab