[Buildroot] Add BR2_EXTRA_CXX_FLAGS to be appended to TARGET_CXXFLAGS
thomas.petazzoni at bootlin.com
Tue Feb 18 16:02:57 UTC 2020
On Tue, 18 Feb 2020 10:45:15 +0100 (CET)
lpdev at cordier.org wrote:
> I see 2 possible solutions to solve that:
> - at the buildroot build level, add an option like BR2_USE_CXX11_ABI, or more generally, BR2_EXTRA_CXX_FLAGS (that can be extended to cflags as well).
> - at the buildroot toolchain build level, add an option in the buildroot toolchain that allows to control the CXX11 ABI
> What do you think about that?
The BR2_TARGET_OPTIMIZATION is already there to allow passing some
custom CFLAGS. It doesn't work for you ?
(And yes the name of the option is stupid, but it's some historical
thing, and we never renamed it).
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot