summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/expect
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-08-27 14:15:11 +0800
committerSteve Sakoman <steve@sakoman.com>2024-09-03 05:39:12 -0700
commit8bfdb53247c917559e7813c2e1bd2f6eb13c811d (patch)
tree015b486740e5f3043b0440f04ef802f15b7d2746 /meta/recipes-devtools/expect
parentd72fe250e4eafb4147ff21ad0624b23ea3bede4c (diff)
downloadpoky-8bfdb53247c917559e7813c2e1bd2f6eb13c811d.tar.gz
expect-native: fix do_compile failure with gcc-14
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. (From OE-Core rev: 6974c6548cae62529d96d4ceb3a296707d4adae5) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/expect')
-rw-r--r--meta/recipes-devtools/expect/expect_5.45.4.bb2
1 files changed, 1 insertions, 1 deletions
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"
85 85
86# http://errors.yoctoproject.org/Errors/Details/766950/ 86# http://errors.yoctoproject.org/Errors/Details/766950/
87# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types] 87# expect5.45.4/exp_chan.c:62:5: error: initialization of 'struct Tcl_ChannelTypeVersion_ *' from incompatible pointer type 'int (*)(void *, int)' [-Wincompatible-pointer-types]
88CFLAGS += "-Wno-error=incompatible-pointer-types" 88CFLAGS:append = " -Wno-error=incompatible-pointer-types"