diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2023-11-28 23:47:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-02 17:18:57 +0000 |
commit | 6481e8b209bbbab810a8ca0acd5b20882fdcf43c (patch) | |
tree | 96a1b291fd656cc42a90c81d2f445f06b2802b23 | |
parent | bd00c3de144140b0a4b5d3f3b4e5ddc88603bb12 (diff) | |
download | poky-6481e8b209bbbab810a8ca0acd5b20882fdcf43c.tar.gz |
json-c: fix icecc compilation
Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.
Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14")
(From OE-Core rev: 915f8307b063e17ddadd5dface83578b8ad254e2)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/json-c/json-c_0.17.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/json-c/json-c_0.17.bb b/meta/recipes-devtools/json-c/json-c_0.17.bb index f4b7a32cea..20bcece768 100644 --- a/meta/recipes-devtools/json-c/json-c_0.17.bb +++ b/meta/recipes-devtools/json-c/json-c_0.17.bb | |||
@@ -17,6 +17,9 @@ UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+" | |||
17 | 17 | ||
18 | RPROVIDES:${PN} = "libjson" | 18 | RPROVIDES:${PN} = "libjson" |
19 | 19 | ||
20 | # Required for ICECC builds | ||
21 | EXTRA_OECMAKE = "-DDISABLE_WERROR=ON" | ||
22 | |||
20 | inherit cmake ptest | 23 | inherit cmake ptest |
21 | 24 | ||
22 | do_install_ptest() { | 25 | do_install_ptest() { |