json-c: fix build without threads support
authorBaruch Siach <baruch@tkos.co.il>
Sat, 30 Dec 2017 22:31:29 +0000 (00:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 31 Dec 2017 11:47:32 +0000 (12:47 +0100)
commitba3769c39aa32ef844e53750c658f023473c9391
treeb24129827760cee87a6c7b0cf61b1c3da7604ea8
parent4dc4f6723774b3b4951c3795a261b0060df34bbb
json-c: fix build without threads support

An uClibc toolchain that does not support threads emits a warning when
_REENTRANT is defined. This breaks build with -Werror. Remove -Werror as
a workaround to fix the build.

This issue as been reported upstream
(https://github.com/json-c/json-c/issues/396).

Fixes:
http://autobuild.buildroot.net/results/606/60683141f2ef320a28820c4cd65d2b951123b147/
http://autobuild.buildroot.net/results/969/969faba96d94c1bda7e06b005d8f3a3f7175a0a2/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/json-c/0001-configure.ac-remove-Werror.patch [new file with mode: 0644]
package/json-c/json-c.mk