]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
json-c: fix icecc compilation
authorMarco Felsch <m.felsch@pengutronix.de>
Tue, 28 Nov 2023 22:47:44 +0000 (23:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Dec 2023 17:15:30 +0000 (17:15 +0000)
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")
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>
meta/recipes-devtools/json-c/json-c_0.17.bb

index f4b7a32cea01197fc956da720a65c3d096c53cec..20bcece7685d866b3de3021b74c11f3d1b135516 100644 (file)
@@ -17,6 +17,9 @@ UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
 
 RPROVIDES:${PN} = "libjson"
 
+# Required for ICECC builds
+EXTRA_OECMAKE = "-DDISABLE_WERROR=ON"
+
 inherit cmake ptest
 
 do_install_ptest() {