Mesa (gallium-0.2): scons: Use -std=gnu99
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Fri Jan 16 15:17:08 UTC 2009
Module: Mesa
Branch: gallium-0.2
Commit: 47ca0234dc9f83808cb141944537c78eaade5d55
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=47ca0234dc9f83808cb141944537c78eaade5d55
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Jan 14 13:03:09 2009 +0000
scons: Use -std=gnu99
It a scary world out there: people use all sort of non standard C stuff,
and we must enable support for that in here in order to build.
-pedantic still warn us when we use that nonstandard though.
---
scons/gallium.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 3d5a053..1218067 100644
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -313,7 +313,7 @@ def generate(env):
'-Wmissing-prototypes',
'-Wno-long-long',
'-ffast-math',
- '-std=c99',
+ '-std=gnu99',
'-pedantic',
'-fmessage-length=0', # be nice to Eclipse
]
More information about the mesa-commit
mailing list