projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
egl/android: Drop unused variable
[mesa.git]
/
scons
/
gallium.py
diff --git
a/scons/gallium.py
b/scons/gallium.py
index c0f6f6c91cac77b7ce9fdbc23302d05ebff8a910..ea212d15a95714356e3aa6c97faa9ce310f635cf 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-491,8
+491,11
@@
def generate(env):
'-Werror=missing-prototypes',
'-Werror=return-type',
'-Werror=incompatible-pointer-types',
'-Werror=missing-prototypes',
'-Werror=return-type',
'-Werror=incompatible-pointer-types',
- '-std=gnu99',
]
]
+ if platform == 'darwin' and host_platform.mac_ver()[0] >= '10.15':
+ cflags += ['-std=gnu11']
+ else:
+ cflags += ['-std=gnu99']
if icc:
cflags += [
'-std=gnu99',
if icc:
cflags += [
'-std=gnu99',