summaryrefslogtreecommitdiffstats
path: root/rules/host-json-c.make
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2020-05-05 10:28:12 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-05-08 10:54:22 +0200
commit879f2c25a5a48791905a7b54642bff409a3d780b (patch)
treeadccdd61f73989fe9c56410c700e92ad9b509a0e /rules/host-json-c.make
parent9633ce1284fdc6f87dfc3ee2e1393780b4d86070 (diff)
downloadptxdist-879f2c25a5a48791905a7b54642bff409a3d780b.tar.gz
ptxdist-879f2c25a5a48791905a7b54642bff409a3d780b.tar.xz
json-c: version bump 0.13.1 -> 0.14
Quoting from the file 'ChangeLog': > Build machinery has been switched to CMake. The announcement is not clear about that however: https://groups.google.com/forum/#!topic/json-c/yLwwAqiRf-4 Options are pinned like they were for the old autotools build (shared lib, no threads, no rdrand) and what seemed to make sense in this build environment. Signed-off-by: Alexander Dahl <ada@thorsis.com> Message-Id: <20200505082812.22335-3-ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-json-c.make')
-rw-r--r--rules/host-json-c.make17
1 files changed, 9 insertions, 8 deletions
diff --git a/rules/host-json-c.make b/rules/host-json-c.make
index f96a27fa1..8e607f783 100644
--- a/rules/host-json-c.make
+++ b/rules/host-json-c.make
@@ -15,14 +15,15 @@ HOST_PACKAGES-$(PTXCONF_HOST_JSON_C) += host-json-c
# Prepare
# ----------------------------------------------------------------------------
-#
-# autoconf
-#
-HOST_JSON_C_CONF_TOOL := autoconf
+HOST_JSON_C_CONF_TOOL := cmake
HOST_JSON_C_CONF_OPT := \
- $(HOST_AUTOCONF) \
- --disable-threading \
- --disable-rdrand \
- --disable-static
+ $(HOST_CMAKE_OPT) \
+ -DBUILD_DOCUMENTATION:BOOL=OFF \
+ -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DBUILD_TESTING:BOOL=OFF \
+ -DDISABLE_BSYMBOLIC:BOOL=ON \
+ -DDISABLE_WERROR:BOOL=ON \
+ -DENABLE_RDRAND:BOOL=OFF \
+ -DENABLE_THREADING:BOOL=OFF
# vim: syntax=make