From a2e2e83d3213ed3a141859b87e7ffd8670a7feef Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Wed, 29 Jul 2026 10:18:42 +0200 Subject: [PATCH] optional -lm --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ff88bbf..51e3a84 100644 --- a/Makefile +++ b/Makefile @@ -36,13 +36,12 @@ true \n #endif' | $(CPP) -P - >/dev/null 2>&1 && echo yes endef -LIBLM ?= no +LIBLM = no ifeq ($(WITH_MQTT),yes) CFLAGS += -DWITH_MQTT=1 CFLAGS += $(MOSQUITTO_CFLAGS) LIBS += $(MOSQUITTO_LIBS) - LIBLM ?= yes endif ifeq ($(WITH_PING),yes) @@ -54,7 +53,7 @@ ifeq ($(WITH_LUA),yes) LIBS += $(LUA_LIBS) OTR_OBJS += hooks.o else - LIBLM ?= yes + LIBLM = yes endif ifeq ($(WITH_ENCRYPT),yes)