summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2026-01-09 22:28:33 +1300
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-01-12 07:51:57 +0530
commit7e4c89a25e4ca131979ee699d2c66deeabd5d789 (patch)
treea4c6f3a8e2540e02a055a80322d7f9014886b460
parentf0fa984d16e8ce0b1370ae7e48ec55e11a4d3be3 (diff)
downloadmeta-openembedded-7e4c89a25e4ca131979ee699d2c66deeabd5d789.tar.gz
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 <raj.khem@gmail.com> (cherry picked from commit 848bac20ea27afddc3843c41ad105843ad167177) Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
-rw-r--r--meta-networking/recipes-protocols/dante/dante_1.4.4.bb2
1 files changed, 2 insertions, 0 deletions
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"
29CFLAGS += "-I${STAGING_INCDIR}/tirpc" 29CFLAGS += "-I${STAGING_INCDIR}/tirpc"
30LIBS += "-ltirpc" 30LIBS += "-ltirpc"
31 31
32CFLAGS:append:libc-musl = " -D_GNU_SOURCE"
33
32REQUIRED_DISTRO_FEATURES = "pam" 34REQUIRED_DISTRO_FEATURES = "pam"
33 35
34EXTRA_AUTORECONF = "-I ${S}" 36EXTRA_AUTORECONF = "-I ${S}"