From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: [ptxdist] [PATCH 1/2] json-c: Revise and pin down configuration options
Date: Mon, 29 Jun 2026 13:34:56 +0200 [thread overview]
Message-ID: <20260629113457.1664202-2-ada@thorsis.com> (raw)
In-Reply-To: <20260629113457.1664202-1-ada@thorsis.com>
removed with 0.15:
- BUILD_DOCUMENTATION
added with 0.15:
- DISABLE_THREAD_LOCAL_STORAGE
- OVERRIDE_GET_RANDOM_SEED
added with 0.16:
- DISABLE_JSON_POINTER
added with 0.17:
- BUILD_APPS
- DISABLE_JSON_PATCH
- NEWLOCALE_NEEDS_FREELOCALE
After changing json-c.make sync the changes to host-json-c.make …
Fixes: b6ac44c56bef ("json-c: version bump 0.14 -> 0.15")
Fixes: ecd364618410 ("json-c: version bump 0.15 -> 0.16")
Fixes: ee8afdbc3ea7 ("json-c: Version bump. 0.16 -> 0.17")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/host-json-c.make | 11 +++++++++--
rules/json-c.make | 9 +++++++--
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/rules/host-json-c.make b/rules/host-json-c.make
index 8e607f783..dc45e28ba 100644
--- a/rules/host-json-c.make
+++ b/rules/host-json-c.make
@@ -18,12 +18,19 @@ HOST_PACKAGES-$(PTXCONF_HOST_JSON_C) += host-json-c
HOST_JSON_C_CONF_TOOL := cmake
HOST_JSON_C_CONF_OPT := \
$(HOST_CMAKE_OPT) \
- -DBUILD_DOCUMENTATION:BOOL=OFF \
+ -DBUILD_APPS:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_STATIC_LIBS:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DDISABLE_BSYMBOLIC:BOOL=ON \
+ -DDISABLE_EXTRA_LIBS:BOOL=ON \
+ -DDISABLE_JSON_PATCH=OFF \
+ -DDISABLE_JSON_POINTER=OFF \
+ -DDISABLE_THREAD_LOCAL_STORAGE=OFF \
-DDISABLE_WERROR:BOOL=ON \
-DENABLE_RDRAND:BOOL=OFF \
- -DENABLE_THREADING:BOOL=OFF
+ -DENABLE_THREADING:BOOL=OFF \
+ -DNEWLOCALE_NEEDS_FREELOCALE=OFF \
+ -DOVERRIDE_GET_RANDOM_SEED=OFF
# vim: syntax=make
diff --git a/rules/json-c.make b/rules/json-c.make
index f5850724a..024375c61 100644
--- a/rules/json-c.make
+++ b/rules/json-c.make
@@ -31,15 +31,20 @@ JSON_C_LICENSE_FILES := file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2
JSON_C_CONF_TOOL := cmake
JSON_C_CONF_OPT := \
$(CROSS_CMAKE_USR) \
- -DBUILD_DOCUMENTATION:BOOL=OFF \
+ -DBUILD_APPS:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DBUILD_STATIC_LIBS:BOOL=OFF \
-DBUILD_TESTING:BOOL=OFF \
-DDISABLE_BSYMBOLIC:BOOL=ON \
-DDISABLE_EXTRA_LIBS:BOOL=ON \
+ -DDISABLE_JSON_PATCH=OFF \
+ -DDISABLE_JSON_POINTER=OFF \
+ -DDISABLE_THREAD_LOCAL_STORAGE=OFF \
-DDISABLE_WERROR:BOOL=ON \
-DENABLE_RDRAND:BOOL=OFF \
- -DENABLE_THREADING:BOOL=OFF
+ -DENABLE_THREADING:BOOL=OFF \
+ -DNEWLOCALE_NEEDS_FREELOCALE=OFF \
+ -DOVERRIDE_GET_RANDOM_SEED=OFF
# ----------------------------------------------------------------------------
# Install
--
2.47.3
next prev parent reply other threads:[~2026-06-29 11:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 11:34 [ptxdist] [PATCH 0/2] json-c: Revise configure options and version bump Alexander Dahl via ptxdist
2026-06-29 11:34 ` Alexander Dahl via ptxdist [this message]
2026-06-29 11:34 ` [ptxdist] [PATCH 2/2] json-c: version bump 0.18 -> 0.19 Alexander Dahl via ptxdist
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260629113457.1664202-2-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox