|
Boost-Build : |
From: Arjan Knepper (arjan.knepper_at_[hidden])
Date: 2006-04-24 10:33:13
Vladimir Prus wrote:
> On Friday 14 April 2006 17:16, Arjan Knepper wrote:
>
>> Attached patch for v2/tools/dmc.jam
>>
>> The v2/example/hello and v2/example/libraries should build & run with
>> this patch.
>>
>
> Hi Arjan,
> I've just comitted this patch. Thanks!
>
>
>> Issue to fix:
>> -WD cflag should be added only whem compiling sources for a shared lib
>> (dll) -WA cflag should be added when compiling sources for executables
>> (exe) and static libs (lib)
>>
>
> What is wrong with:
>
> flags dmc.compile OPTIONS <link>shared : -WD ;
> flags dmc.compile OPTIONS <link>static : -WA ;
>
It seems to apply the -WD flag also when compiling for _executables_
which are linked against shared libs.
Thanks,
Arjan
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk