diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/xsbench/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/xsbench/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/xsbench/package.py b/var/spack/repos/builtin/packages/xsbench/package.py index b6040714d4..3b2215553d 100644 --- a/var/spack/repos/builtin/packages/xsbench/package.py +++ b/var/spack/repos/builtin/packages/xsbench/package.py @@ -39,8 +39,11 @@ class Xsbench(MakefilePackage): def build_targets(self): targets = [] + cflags = '' + + if not self.spec.satisfies('%nvhpc'): + cflags = '-std=gnu99' - cflags = '-std=gnu99' if '+mpi' in self.spec: targets.append('CC={0}'.format(self.spec['mpi'].mpicc)) else: |