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 <diego.dassie@texa.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Diego Dassie 2023-05-11 15:23:20 +02:00 committed by Khem Raj
parent e408f1b84c
commit bf26b3e5ed

View File

@ -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"