diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mesa/package.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py index 02930274d5..2d10baab56 100644 --- a/var/spack/repos/builtin/packages/mesa/package.py +++ b/var/spack/repos/builtin/packages/mesa/package.py @@ -135,6 +135,12 @@ class Mesa(MesonPackage): "_llvm_method = 'config-tool'", "meson.build") + def flag_handler(self, name, flags): + if self.spec.satisfies('%intel'): + if name == 'cflags': + flags.append('-std=c99') + return super(Mesa, self).flag_handler(name, flags) + def meson_args(self): spec = self.spec args = [ |