From 6f7710a2e98304b19f3853e0ece3084d3c0963e3 Mon Sep 17 00:00:00 2001 From: Oleg Hahm Date: Wed, 30 Nov 2022 11:42:40 +0100 Subject: [PATCH] pkg: paho-mqtt: added missing requirement Paho won't compile on platforms where an Integer is smaller than 32 bit. --- pkg/paho-mqtt/Makefile.dep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/paho-mqtt/Makefile.dep b/pkg/paho-mqtt/Makefile.dep index 4dd2edbda072..0b8e325fc908 100644 --- a/pkg/paho-mqtt/Makefile.dep +++ b/pkg/paho-mqtt/Makefile.dep @@ -1,3 +1,7 @@ +# PAHO does some comparisons against literals that make certain assumptions +# about the width of integer types which hold only true for 32 bit platforms +FEATURES_REQUIRED += arch_32bit + USEMODULE += ztimer USEMODULE += ztimer_msec USEMODULE += paho-mqtt-contrib