[LEDE-DEV] [PATCH] rules.mk: disable CXX11 ABI with uClibc++
Felix Fietkau
nbd at nbd.name
Tue Mar 21 14:27:35 PDT 2017
On 2017-03-21 19:13, Stijn Tintel wrote:
> GCC 5.1 introduced a new library ABI to conform to the 2011 C++
> standard. This new ABI is enabled by default. This causes compatibility
> issues between libraries compiled against libstdc++ and libraries
> compiled against uClibc++, as the latter doesn't support this new ABI.
>
> Solve this by disabling the _GLIBCXX_USE_CXX11_ABI macro when uClibc++
> is selected as the preferred standard C++ library.
>
> Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
This should be changed in uclibc++.mk so that it does not affect
packages that only use libstdc++
- Felix
More information about the Lede-dev
mailing list