On 12/02/2015 08:38 AM, Anthony G. Basile wrote:
> On 12/2/15 2:06 AM, Michał Górny wrote:
>> So you're saying we should write a whole eclass to do:
>>
>>   append-cppflags -std=c++11
>>
>> ?
>>
> I think you mean append-cxxflags.  Anyhow, I had an off list discussion
> with David Klaftenegger about the semantic difference between c++11 and
> 98 with respect to their atomics and I'm convinced that a global
> -std=c++11 could get us into trouble on packages that make use of
> threading.  So drop my idea of global c++11 and you'll have to catch
> these on a per package basis.
>
Could we use something along the lines of a use_expand'ed variable?

CXX_ABI="03"

==> DEPEND="dev-libs/boost[cxx_abi_03]"

Would need some CFLAGS injection, but like this any C++ packages can be
forced to 'same' ABI in a more reasonable fashion, and it wouldn't
require global overrides.
 

Reply via email to