cjson: fix error with sh4a and powerpc

Fixes:
 - http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2016-12-15 19:08:59 +01:00 committed by Peter Korsgaard
parent bed1ea1c38
commit 4f11de1a60
2 changed files with 7 additions and 0 deletions

View File

@ -1,2 +1,3 @@
# Locally computed:
sha256 3487795d54440bdbd41b4b8e7688889526f2f9a652639f6036b9965016c800e7 cjson-v1.1.0.tar.gz
sha256 8eea780ee5729275a5076002d92a4c7854ecb89968b26a81efeb5bd9828268a0 fcc89c4bb264d665929b00eeebc479a643a90896.patch

View File

@ -10,4 +10,10 @@ CJSON_INSTALL_STAGING = YES
CJSON_LICENSE = MIT
CJSON_LICENSE_FILES = LICENSE
# This patch fixes -Werror=strict-overflow compile errors on sh4a and powerpc
# toolchains:
# http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a
CJSON_PATCH = \
https://github.com/DaveGamble/cjson/commit/fcc89c4bb264d665929b00eeebc479a643a90896.patch
$(eval $(cmake-package))