Hi Alex,

To the best of my knowledge, these existing lines in our SConscript  
should have made SCONS import your environment variables (eg. CXXFLAGS  
set in your shell):

if platform == 'linux' or platform == 'osx':
         env = Environment(tools=['default','qt4', 'msvs'],  
toolpath=['../', './'], QTDIR=flags_qtdir, QT_LIB='', ENV = os.envi
ron)

(the important bit is the "ENV = os.environ")

I thought someone told me it worked in the past, although I haven't  
tested it myself.
Albert

On 4-Apr-08, at 7:31 PM, Alex 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
>
> Alex wrote:
>> I am having quite a bit of trouble getting scons to use custom CFLAGS
>> and LDFLAGS.  I tried patching 658 & 659 of the beta to src/ 
>> SConscript
>> file but it doesnt appear to help.
>>
>> Anyone have any ideas on getting this working?
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>> _______________________________________________
>> 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
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> 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 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
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