[Buildroot] Add BR2_EXTRA_CXX_FLAGS to be appended to TARGET_CXXFLAGS
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Feb 18 16:02:57 UTC 2020
Hello Louis-Paul,
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).
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list