* Re: [OE-core] [scarthgap][PATCH] expect-native: fix do_compile failure with gcc-14
[not found] <17EF8144B2D2A6D7.8904@lists.openembedded.org>
@ 2024-08-27 6:20 ` Changqing Li
0 siblings, 0 replies; only message in thread
From: Changqing Li @ 2024-08-27 6:20 UTC (permalink / raw)
To: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
This patch is not needed for master, as master already drop the override
in native.bbclass.
//Changqing
On 8/27/24 14:15, Changqing Li via lists.openembedded.org wrote:
> From: Changqing Li<changqing.li@windriver.com>
>
> In native.bbclass, CFLAGS is overrided by 'CFLAGS = "${BUILD_CFLAGS}"',
> this make "CFLAGS +=" not work for expect-native, use append to make it
> also work for native.
>
> Signed-off-by: Changqing Li<changqing.li@windriver.com>
> ---
> meta/recipes-devtools/expect/expect_5.45.4.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/expect/expect_5.45.4.bb b/meta/recipes-devtools/expect/expect_5.45.4.bb
> index 174b35ec73..158e7af030 100644
> --- a/meta/recipes-devtools/expect/expect_5.45.4.bb
> +++ b/meta/recipes-devtools/expect/expect_5.45.4.bb
> @@ -85,4 +85,4 @@ BBCLASSEXTEND = "native nativesdk"
>
> #http://errors.yoctoproject.org/Errors/Details/766950/
> # expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
> -CFLAGS += "-Wno-error=incompatible-pointer-types"
> +CFLAGS:append = " -Wno-error=incompatible-pointer-types"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#203812):https://lists.openembedded.org/g/openembedded-core/message/203812
> Mute This Topic:https://lists.openembedded.org/mt/108118728/3616873
> Group Owner:openembedded-core+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [changqing.li@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
[-- Attachment #2: Type: text/html, Size: 2954 bytes --]
^ permalink raw reply [flat|nested] only message in thread