diff --git a/lib/spack/spack/compilers/cce.py b/lib/spack/spack/compilers/cce.py index 64bf62543d3..66d8519f25d 100644 --- a/lib/spack/spack/compilers/cce.py +++ b/lib/spack/spack/compilers/cce.py @@ -65,6 +65,12 @@ def cxx11_flag(self): return '-std=c++11' return "-h std=c++11" + @property + def cxx14_flag(self): + if self.is_clang_based: + return '-std=c++14' + return "-h std=c++14" + @property def c99_flag(self): if self.is_clang_based: