diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/cleverleaf/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cleverleaf/package.py b/var/spack/repos/builtin/packages/cleverleaf/package.py index 2421133a00..f2488de89c 100644 --- a/var/spack/repos/builtin/packages/cleverleaf/package.py +++ b/var/spack/repos/builtin/packages/cleverleaf/package.py @@ -44,3 +44,9 @@ class Cleverleaf(CMakePackage): depends_on('hdf5+mpi') depends_on('boost') depends_on('cmake@3.1:', type='build') + + def flag_handler(self, name, flags): + if self.spec.satisfies('%intel') and name in ['cppflags', 'cxxflags']: + flags.append(self.compiler.cxx11_flag) + + return (None, None, flags) |