so a better solution would be:
env['SHOBJSUFFIX'] = env.get('SHOBJSUFFIX','.os')
?
On Mon, Aug 28, 2017 at 2:17 AM, Russel Winder <[email protected]> wrote:
> On Wed, 2017-08-23 at 09:56 -0700, Bill Deegan wrote:
> > Don't avoid TARGET..
> >
> > Here's where it's defined:
> > src/engine/SCons//Tool/cc.py: env['SHOBJSUFFIX'] = '.os'
> > src/engine/SCons//Tool/cxx.py: env['SHOBJSUFFIX'] = '.os'
> >
> > Will setting the SHOBJSUFFIX in the relevant D tools do the trick?
>
> The problem is that the setting is global in the default tool set so it
> being set to .os in cc and cxx affects all the global default tool set.
> If I set this is the dmd, ldc, and gdc tools to .o then it breaks the
> cc and cxx tools. Been there, tried this, removed the experiment.
>
> The default tools share a single namespace of environment variables and
> this is the problem if the tools disagree on anything. In this case the
> majority has to win so the dmd and ldc tools are just going to have to
> remain broken in the default toolset. :-(
>
> --
> Russel.
> ============================================================
> =================
> Dr Russel Winder t: +44 20 7585 2200 voip:
> sip:[email protected]
> 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
> London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
>
> _______________________________________________
> Scons-dev mailing list
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
>
_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev