mesa: intel needs c99 standard specified under intel. (#30334)
This commit is contained in:
parent
b4213b2c60
commit
2f6556ea82
@ -135,6 +135,12 @@ def patch(self):
|
|||||||
"_llvm_method = 'config-tool'",
|
"_llvm_method = 'config-tool'",
|
||||||
"meson.build")
|
"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):
|
def meson_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
args = [
|
args = [
|
||||||
|
Loading…
Reference in New Issue
Block a user