Boost logo

Boost-Build :

Subject: Re: [Boost-build] Can not parse compile flags on to other jam file
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2011-03-28 13:11:08

Bo Jensen wrote:
> In another thread this problem appeared, but I never got it to work :
> First one with chrono works fine but serialization and other libraries
> fails when forcing compiler flags :
> /home/bj/sulum/external/boost/tools/build/v2/build/virtual-target.jam:1079:
> in virtual-target.register-actual-name from module virtual-target
> error: Duplicate name of actual target:
> error: created from
> /home/bj/sulum/external/boost/libs/serialization/build/boost_serialization
> error: added properties: <cxxflags>-fPIC
> error: removed properties: none
> Most likely very simple, but a show-stopper for me, any help ?


If that's urgent for you I can suggest a workaround, but there might be a better
Here it goes:

import feature ;
feature.feature fpic : off on : propagated optional composite ;
feature.compose <fpic>on : <cxxflags>-fPIC ;


> Thanks,
> Bo


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at