mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-06 05:34:44 +02:00
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>
This commit is contained in:
parent
bd00c3de14
commit
6481e8b209
|
@ -17,6 +17,9 @@ UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+"
|
||||||
|
|
||||||
RPROVIDES:${PN} = "libjson"
|
RPROVIDES:${PN} = "libjson"
|
||||||
|
|
||||||
|
# Required for ICECC builds
|
||||||
|
EXTRA_OECMAKE = "-DDISABLE_WERROR=ON"
|
||||||
|
|
||||||
inherit cmake ptest
|
inherit cmake ptest
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user