expect-native: fix do_compile failure with gcc-14
A message that is not in the archive (sent off-list or not yet received): [email protected]
This patch is not needed for master, as master already drop the override in native.bbclass.
//Changqing
Quoted 30 lines · Changqing Li via lists.openembedded.org
From: Changqing Li<[email protected]>
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<[email protected]>--- meta/recipes-devtools/expect/expect_5.45.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/expect/expect_5.45.4.bb +1
-2@@ -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:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-