scons: Use -std=gnu99
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 14 Jan 2009 13:03:09 +0000 (13:03 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 16 Jan 2009 15:16:55 +0000 (15:16 +0000)
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

index 3d5a0532eca9c53232ba0f1fdc8bfd4c3ab34c2f..1218067985e9364b9792e4f61433816cc3819c65 100644 (file)
@@ -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
         ]