add a temporary Nag.cxx11_flag property

This commit is contained in:
Denis Davydov 2016-05-03 19:04:42 +02:00
parent 473a5542be
commit ddcb97f953

View File

@ -25,6 +25,11 @@ class Nag(Compiler):
def openmp_flag(self):
return "-openmp"
@property
def cxx11_flag(self):
# NAG does not have a C++ compiler
# However, it can be mixed with a compiler that does support it
return "-std=c++11"
@classmethod
def default_version(self, comp):