diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-06-26 19:50:12 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-06-26 19:57:46 +0100 |
commit | 25f6c936fea899dd2989c76275f3f25d3a9a7d77 (patch) | |
tree | 298f2bddfceca3da88749db831e26ee7bfe1edda /scons/generic.py | |
parent | 3e94521912ca75bb14093053bf1cd1001e79cd1b (diff) |
scons: Don't use C specific options with g++
Diffstat (limited to 'scons/generic.py')
-rw-r--r-- | scons/generic.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scons/generic.py b/scons/generic.py index 29ddf76d6f..a9c2244a74 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -416,16 +416,18 @@ def generate(env): # See also: # - http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html ccflags += [ - '-Werror=declaration-after-statement', '-Wall', - '-Wmissing-prototypes', '-Wmissing-field-initializers', '-Wpointer-arith', '-Wno-long-long', '-ffast-math', - '-std=gnu99', '-fmessage-length=0', # be nice to Eclipse ] + cflags += [ + '-Werror=declaration-after-statement', + '-Wmissing-prototypes', + '-std=gnu99', + ] if msvc: # See also: # - http://msdn.microsoft.com/en-us/library/19z1t1wy.aspx |