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>
This commit is contained in:
Khem Raj 2025-12-09 18:58:39 -08:00
parent d8e7190fd3
commit 848bac20ea
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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}"