From 25f6c936fea899dd2989c76275f3f25d3a9a7d77 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 26 Jun 2009 19:50:12 +0100 Subject: scons: Don't use C specific options with g++ --- scons/generic.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'scons/generic.py') diff --git a/scons/generic.py b/scons/generic.py index 29ddf76d6ff..a9c2244a74f 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 -- cgit v1.2.3