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.
This commit is contained in:
José Fonseca
2009-01-14 13:03:09 +00:00
parent eac69bf99e
commit 47ca0234dc

View File

@@ -313,7 +313,7 @@ def generate(env):
'-Wmissing-prototypes', '-Wmissing-prototypes',
'-Wno-long-long', '-Wno-long-long',
'-ffast-math', '-ffast-math',
'-std=c99', '-std=gnu99',
'-pedantic', '-pedantic',
'-fmessage-length=0', # be nice to Eclipse '-fmessage-length=0', # be nice to Eclipse
] ]