json-c: add --enable-threading to EXTRA_OECONF 20/23320/1
authorMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 11 Dec 2019 18:47:49 +0000 (20:47 +0200)
committerMatt Ranostay <matt.ranostay@konsulko.com>
Wed, 11 Dec 2019 19:43:05 +0000 (19:43 +0000)
Enable partial threading support to enable compiler atomic
operations which in turn avoids refcount corruption issue
that was causing aborts with moderate prolonged traffic.

Bug-AGL: SPEC-3044
Change-Id: I0b9ab8c27f2c436910dbabf03be5bedaf1a28136
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
meta-agl-profile-core/recipes-devtools/json-c/json-c_%.bbappend [new file with mode: 0644]

diff --git a/meta-agl-profile-core/recipes-devtools/json-c/json-c_%.bbappend b/meta-agl-profile-core/recipes-devtools/json-c/json-c_%.bbappend
new file mode 100644 (file)
index 0000000..43807bd
--- /dev/null
@@ -0,0 +1 @@
+EXTRA_OECONF += "--enable-threading"