Re: [OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-11 Thread Ross Burton
On 11 Jan 2023, at 11:24, Jacob Kroon via lists.openembedded.org wrote: > > On 1/6/23 17:16, Ross Burton wrote: >> The curl-related deprecation errors affect all builds not just native, >> so set CFLAGS instead of BUILD_CFLAGS. >> Signed-off-by: Ross Burton >> --- >>

Re: [OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-11 Thread Jacob Kroon
On 1/6/23 17:16, Ross Burton wrote: The curl-related deprecation errors affect all builds not just native, so set CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Ross Burton --- meta/recipes-devtools/elfutils/elfutils_0.188.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-06 Thread Alexander Kanavin
Curl marks deprecated API with this macro: #define CURL_DEPRECATED(version, message) \ __attribute__((deprecated("since " # version ". " message))) For some reason, our target gcc 12.x does not interpret it as a 'deprecation' and stays silent - no warnings, no errors. But other compilers do

Re: [OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-06 Thread Alexander Kanavin
But how did this make it through all the builds? Something doesn't compute here. Alex On Fri, 6 Jan 2023 at 17:16, Ross Burton wrote: > > The curl-related deprecation errors affect all builds not just native, > so set CFLAGS instead of BUILD_CFLAGS. > > Signed-off-by: Ross Burton > --- >

[OE-core] [PATCH] elfutils: disable deprecation errors in all builds, not just native

2023-01-06 Thread Ross Burton
The curl-related deprecation errors affect all builds not just native, so set CFLAGS instead of BUILD_CFLAGS. Signed-off-by: Ross Burton --- meta/recipes-devtools/elfutils/elfutils_0.188.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git