diff options
| author | Changqing Li <changqing.li@windriver.com> | 2024-08-27 14:15:11 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-09-03 05:39:12 -0700 |
| commit | 8bfdb53247c917559e7813c2e1bd2f6eb13c811d (patch) | |
| tree | 015b486740e5f3043b0440f04ef802f15b7d2746 /meta/recipes-devtools/expect | |
| parent | d72fe250e4eafb4147ff21ad0624b23ea3bede4c (diff) | |
| download | poky-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.bb | 2 |
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] |
| 88 | CFLAGS += "-Wno-error=incompatible-pointer-types" | 88 | CFLAGS:append = " -Wno-error=incompatible-pointer-types" |
