From 7e4c89a25e4ca131979ee699d2c66deeabd5d789 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 9 Jan 2026 22:28:33 +1300 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 (cherry picked from commit 848bac20ea27afddc3843c41ad105843ad167177) Signed-off-by: Ankur Tyagi Signed-off-by: Anuj Mittal --- 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 3a290d31d6..2fa2767e86 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}"