[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-build
Subject: Re: [Boost-build] How to dynamically get the source?
From: Vladimir Prus <ghost () cs ! msu ! su>
Date: 2014-02-21 5:47:20
Message-ID: 5306E868.1030709 () cs ! msu ! su
[Download RAW message or body]
On 19.02.2014 17:57, Paulo Márcio Figueiredo Alves wrote:
> I have made a simple test to show the problem (attached file). If you do not use \
> Boost.Thread, the problem does not occur. Adjust boost path (line 1) and call b2 \
> -a, you'll see "recompile with -fPIC". Choose one of the commented choices for \
> target foo_static and you will see that there is no way to make it work, unless you \
> call b2 -a cxxflags=-fPIC.
> Is it a bug? Is there any workaround? Am I doing something wrong?
Paulo,
the issue here is that <cflags> is not passed through like this, we need to either \
make them passed, or issue an error.
Anyway, the most immediate solution would be something like:
feature.feature fpic : off on : composite ;
feature.compose <fpic>on : <cflags>-fPIC <cxxflags>-fPIC ;
and use <fpic>on
Does this help?
- Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic