From bf26b3e5ed3782ffdcf33374a6cf63c38e5e90c0 Mon Sep 17 00:00:00 2001 From: Diego Dassie Date: Thu, 11 May 2023 15:23:20 +0200 Subject: [PATCH] paho-mqtt-c: Improve performance The paho-mqtt-c library keeps it's internal debugging aids tracing and heap tracking enabled by default these options can have a noticiable performance impact, make sure they are disabled. Signed-off-by: Diego Dassie Signed-off-by: Khem Raj --- meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb index 0e0f64f5a8..4decb098c7 100644 --- a/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb +++ b/meta-oe/recipes-connectivity/paho-mqtt-c/paho-mqtt-c_1.3.12.bb @@ -30,4 +30,4 @@ do_install:append() { find ${D}${prefix} -maxdepth 1 -type f -delete } -EXTRA_OECMAKE = "-DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF" +EXTRA_OECMAKE = "-DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF -DPAHO_HIGH_PERFORMANCE=ON"