[Scons-users] linker flags

edA-qa mort-ora-y eda-qa at disemia.com
Sun Oct 28 17:33:23 EDT 2012


On 28/10/12 20:25, Gary Oberbrunner wrote:

> Try this (untested):

> env['LINKCOM'] = '$LINKCOM $END_LINKFLAGS'

> env['END_LINKFLAGS'] = ['-end1', '-end2']


Thank you, I tweaked this a bit and got the following to work:

env['LINKCOM'] = env['LINKCOM'] + ' $END_LINKFLAGS'
env['SHLINKCOM'] = env['SHLINKCOM'] + ' $END_LINKFLAGS'
env['END_LINKFLAGS'] = '...'


I also tried with Append and also needed that extra space. Should I?

env.Append( LINKCOM = ' $END_LINKFLAGS' )


--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121028/29e65fd9/attachment.pgp>


More information about the Scons-users mailing list