On Tue, May 09, 2006 at 12:41:26PM -0500, Bo Peng wrote:
> >--- SConstruct.orig     2006-05-09 16:29:42.000000000 +0200
> >+++ SConstruct  2006-05-09 19:24:12.000000000 +0200
> >@@ -706,7 +706,7 @@
> > if ARGUMENTS.get('mode', default_build_mode) == 'debug':
> >   env.Append(CCFLAGS = [])
> > else:
> >-  env.Append(CCFLAGS = [])
> >+  env.Append(CCFLAGS = ['-O2'])
> 
> Is this '-'  universal? I mean, will other compiler (or gcc under
> other platforms) use it, instead of things like "icc /O2'?

No, clearly. There should be a way to pass at least CC, CPP, CFLAGS,
CXX, CXXCPP, CXXFLAGS, and LDFLAGS, maybe through the environment.

-- 
Enrico

Reply via email to