From 848bac20ea27afddc3843c41ad105843ad167177 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 9 Dec 2025 18:58:39 -0800 Subject: [PATCH] dante: Add _GNU_SOURCE for musl builds This helps build fixes e.g. cpuset_t definitions etc. glibc builds have _GNU_SOURCE defined inherently. Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/dante/dante_1.4.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-protocols/dante/dante_1.4.4.bb b/meta-networking/recipes-protocols/dante/dante_1.4.4.bb index 7aa1103855..52cfba4c5f 100644 --- a/meta-networking/recipes-protocols/dante/dante_1.4.4.bb +++ b/meta-networking/recipes-protocols/dante/dante_1.4.4.bb @@ -29,6 +29,8 @@ CPPFLAGS += "-P" CFLAGS += "-I${STAGING_INCDIR}/tirpc" LIBS += "-ltirpc" +CFLAGS:append:libc-musl = " -D_GNU_SOURCE" + REQUIRED_DISTRO_FEATURES = "pam" EXTRA_AUTORECONF = "-I ${S}"