[Scons-users] passing variables on the command-line

Bill Deegan bill at baddogconsulting.com
Fri Jun 17 17:59:01 EDT 2016


Can you create a minimum working example of the config check + string
CFLAGS for me to take a look at?
That'll help me recommend whether to file a bug or not.

-Bill

On Fri, Jun 17, 2016 at 12:24 PM, Stefan Seefeld <stefan at seefeld.name>
wrote:

> On 17.06.2016 14:36, Bill Deegan wrote:
> > Gotcha.
>
> Should I file a bug report for this ? It seems plausible to expect SCons
> to Do The Right Thing, i.e. either join strings with a whitespace, or
> convert the variable into a list. The current behavior isn't useful.
>
>         Stefan
>
> > -Bill
> >
> > On Fri, Jun 17, 2016 at 11:30 AM, Stefan Seefeld <stefan at seefeld.name
> > <mailto:stefan at seefeld.name>> wrote:
> >
> >     On 17.06.2016 14:27, Bill Deegan wrote:
> >     > It is valid to have CFLAGS as a string.
> >
> >     In my case that resulted in errors, as my configure checks would
> >     append
> >     flags, so the resulting value of CFLAGS was the invalid
> >     '-Wall-pthread'
> >     string, rather than any of the valid '-Wall -pthread' or ['-Wall',
> >     '-pthread'] values.
> >
> >             Stefan
> >
> >     --
> >
> >           ...ich hab' noch einen Koffer in Berlin...
> >
> >     _______________________________________________
> >     Scons-users mailing list
> >     Scons-users at scons.org <mailto:Scons-users at scons.org>
> >     https://pairlist4.pair.net/mailman/listinfo/scons-users
> >
> >
> >
> >
> > _______________________________________________
> > Scons-users mailing list
> > Scons-users at scons.org
> > https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
> --
>
>       ...ich hab' noch einen Koffer in Berlin...
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160617/a640b22f/attachment.html>


More information about the Scons-users mailing list