Boost logo

Boost-Build :

Subject: Re: [Boost-build] [EXTERNAL] cflags not being inherited
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2014-02-12 15:32:43


On Feb 12, 2014, at 1:23 PM, Paulo Márcio Figueiredo Alves wrote:

> I'm trying to use boost like that
>
> use-project boost : /path/to/boost ;
>
> and it is working. But now I want to pass <cflags>-fPIC, I need boost to be compiled with it and do not want to write <target-os>linux:<library>boost/thread/<cflags>-fPIC.
> I've tried to use
>
> project : requeriments <cflags>-fPIC ;
>
> but does not work anyway.
>
> Any ideas?

project : requirements <link>shared ;

should do it.

-- Noel

> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


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