From 310e3d070c5a94b85656c2cd9bbbf41e3a46f473 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Thu, 4 Apr 2024 14:06:11 +0200 Subject: [PATCH] BUILD: systemd: enable USE_SYSTEMD by default with TARGET=linux-glibc Since the systemd notify feature is now independant of any library, lets enable it by default for linux-glibc. The -Ws mode still need to be used in order to use the sd_nofify() function. And the function won't do anything if the NOTIFY_SOCKET environment variable is not defined. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df50d1700..0987595df 100644 --- a/Makefile +++ b/Makefile @@ -351,7 +351,7 @@ ifeq ($(TARGET),linux-glibc) USE_POLL USE_TPROXY USE_LIBCRYPT USE_DL USE_RT USE_CRYPT_H USE_NETFILTER \ USE_CPU_AFFINITY USE_THREAD USE_EPOLL USE_LINUX_TPROXY USE_LINUX_CAP \ USE_ACCEPT4 USE_LINUX_SPLICE USE_PRCTL USE_THREAD_DUMP USE_NS USE_TFO \ - USE_GETADDRINFO USE_BACKTRACE USE_SHM_OPEN) + USE_GETADDRINFO USE_BACKTRACE USE_SHM_OPEN USE_SYSTEMD) INSTALL = install -v endif