[Buildroot] [PATCH v2 1/1] core: add option to force compiling C++ as C++11

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Apr 15 20:28:53 UTC 2016


Hello,

On Mon, 30 Nov 2015 15:19:36 +0100, Alexey Galakhov wrote:
> Many C++ libraries like boost and log4cplus use defines to be compatible with
> both C++03 and C++11 standards. This causes ABI incompatibilities between
> a library built with C++03 and an application built with C++11. To avoid this,
> one has to built libraries as C++11 as well.
> 
> This patch introduces the BR2_ENABLE_CPP11 configuration option that forces
> passing --std=c++11 to the compiler while building C++ target libraries.
> 
> Signed-off-by: Alexey Galakhov <agalakhov at gmail.com>

Following the feedback from Arnout, I've marked this patch as Rejected
in our patch tracking system. The issue should be solved on a
per-package basis.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list