Hi guys,

I've committed this patch to trunk, after some testing. I've also added
a line that prints out your build flags, which is handy when you just
run "scons" and have the flags grabbed from the cache.

The caching is going to be especially helpful on Windows, where the
shell isn't so good.

Thanks Martin!
Albert


On Wed, 2008-04-09 at 00:48 -0700, Alex wrote:
> Thanks martin, that patch worked very well aside from the missing cpp 
> files, but i think thats because i patched the beta2 src.  Anyway is 
> there any chance that it will be added to the trunk?
> 
> 
> 
> 
> Martin Sakmar wrote:
> > Hi
> > 
> > To read CXXFLAGS environment variable you can add this to SConscript
> > 
> > if os.environ.has_key('CXXFLAGS'):
> >     env.Append(CXXFLAGS = SCons.Util.CLVar( os.environ['CXXFLAGS'] ))
> > 
> > The attached SConscript reads CXXFLAGS env variable and it also stores 
> > the options passed as arguments into cache, so you don't need to pass 
> > them every time you run scons.
> > 
> > Cheers,
> > Martin
> > 
> > On Sat, Apr 5, 2008 at 4:31 AM, Alex <[EMAIL PROTECTED] 
> > <mailto:[EMAIL PROTECTED]>> wrote:
> > 
> >     Ok well an update, i dont think i was working because for some reason i
> >     didnt notice that it required gcc 4.2 which i don't have, nor do i
> >     really need for this.  It would be nice if i could somehow pass
> >     arguments like "-march=k8 -msse3 -O2 -pipe" in as cflag or if i could
> >     somehow get scons to read the env variable ${CFLAGS} or something like
> >     that.  Anyone got ideas on how todo that specifically the ${CFLAGS} bash
> >     environment variable?
> > 
> >     Thanks
> >     -Alex
> > 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
> Don't miss this year's exciting event. There's still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Mixxx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mixxx-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to