Re: [OE-core][PATCH] gcsections: apply section removal also in C++, not only in C

2023-06-29 Thread Alexandre Belloni via lists.openembedded.org
Hello Peter, I have collected it but this patch should have gone to the poky mailing list as this is for meta-yocto. On 29/06/2023 14:28:08+0200, Peter Marko via lists.openembedded.org wrote: > From: Peter Marko > > Currently only CFLAGS contains sections optimizations. > This is used during C

[OE-core][PATCH] gcsections: apply section removal also in C++, not only in C

2023-06-29 Thread Peter Marko via lists.openembedded.org
From: Peter Marko Currently only CFLAGS contains sections optimizations. This is used during C compilation. C++ compilation uses CXXFLAGS instead. I did not introduce CXXFLAGS_SECTION_REMOVAL because the options are identical in C and C++, while adding it would add whole lot of additional