diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-01 12:59:37 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-01 13:02:01 +0200 |
commit | 4e99abc47511c2f0bc3b5a7da9e877aba6a84b9f (patch) | |
tree | 9e9c0a565b6131b1fbba6d0569fcb1cad4ea5fd7 /package/json-c/0001-don-t-threat-warnings-as-errors.patch | |
parent | f431f5540e4c8bf250df820e59e106cf83f2d44d (diff) | |
download | buildroot-4e99abc47511c2f0bc3b5a7da9e877aba6a84b9f.tar.gz buildroot-4e99abc47511c2f0bc3b5a7da9e877aba6a84b9f.zip |
json-c: add patch to make sure the library is linked against libm when needed
On uClibc, a number of symbols such as isnan() are in libm and not
libc, so we might need to link against libm. This commit adds a patch
to json-c that does this.
Fixes:
http://autobuild.buildroot.net/results/94d/94dd7f38ae105e7cd2f342d718e27a65edcf3a3d/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/json-c/0001-don-t-threat-warnings-as-errors.patch')
-rw-r--r-- | package/json-c/0001-don-t-threat-warnings-as-errors.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/json-c/0001-don-t-threat-warnings-as-errors.patch b/package/json-c/0001-don-t-threat-warnings-as-errors.patch index f18bf92526..804fb2cd33 100644 --- a/package/json-c/0001-don-t-threat-warnings-as-errors.patch +++ b/package/json-c/0001-don-t-threat-warnings-as-errors.patch @@ -1,7 +1,7 @@ -From e81a30a35107643323950ef6803eddebecb33344 Mon Sep 17 00:00:00 2001 +From 2b4a43a94fb988e344f2d7edc74d6a4a5f64571d Mon Sep 17 00:00:00 2001 From: Sagaert Johan <sagaert.johan@proximus.be> Date: Wed, 15 Apr 2015 00:40:46 +0200 -Subject: [PATCH 1/1] don't threat warnings as errors +Subject: [PATCH] don't threat warnings as errors Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be> --- @@ -9,7 +9,7 @@ Signed-off-by: Sagaert Johan <sagaert.johan@proximus.be> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am.inc b/Makefile.am.inc -index fec591b..61db1d2 100644 +index fec591b..5eb461e 100644 --- a/Makefile.am.inc +++ b/Makefile.am.inc @@ -1,2 +1,2 @@ @@ -17,5 +17,5 @@ index fec591b..61db1d2 100644 +AM_CFLAGS = -Wall -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -- -2.3.3 +2.1.0 |