summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-11 17:39:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-28 17:07:18 +0100
commit2c10ea757ccc18d76a09911d4b472ea304ee5dd0 (patch)
treed5d5f2d8fdeb9e437db66ab28f1195eb3ebaf317 /meta/recipes-kernel
parenta5fc3332ac7fd247248d07811c4fda973f307e97 (diff)
downloadpoky-2c10ea757ccc18d76a09911d4b472ea304ee5dd0.tar.gz
babeltrace: Disable warnings as errors
These settings are good for developers/maintainers but for distributions generally disabling them turns out to be better especially when there is a knob to do so. This fixes build with gcc-12 which find additional warnings inlined from 'bt_ctf_object_set_parent' at ../../../git/src/ctf-writer/object.h:120:6, inlined from 'bt_ctf_trace_common_add_stream_class' at ../../../git/src/ctf-writer/trace.c:1243:3: ../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference] 141 | if (child->parent) { | ~~~~~^~~~~~~~ ../../../git/src/ctf-writer/object.h:141:26: error: null pointer dereference [-Werror=null-dereference] cc1: all warnings being treated as errors (From OE-Core rev: bdf428b3b91d43eb61a6a4b83fc0f108745d45b7) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1898d10dd4d4372823e6c8b8c4ed28604e692365) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/lttng/babeltrace2_2.0.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace2_2.0.4.bb b/meta/recipes-kernel/lttng/babeltrace2_2.0.4.bb
index 248b84e98d..b48f07ea0d 100644
--- a/meta/recipes-kernel/lttng/babeltrace2_2.0.4.bb
+++ b/meta/recipes-kernel/lttng/babeltrace2_2.0.4.bb
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git"
19 19
20inherit autotools pkgconfig ptest python3targetconfig 20inherit autotools pkgconfig ptest python3targetconfig
21 21
22EXTRA_OECONF = "--disable-debug-info" 22EXTRA_OECONF = "--disable-debug-info --disable-Werror"
23 23
24PACKAGECONFIG ??= "manpages" 24PACKAGECONFIG ??= "manpages"
25PACKAGECONFIG[manpages] = ", --disable-man-pages, asciidoc-native xmlto-native" 25PACKAGECONFIG[manpages] = ", --disable-man-pages, asciidoc-native xmlto-native"