mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user