diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-12-09 18:58:39 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-10 08:56:15 -0800 |
| commit | 848bac20ea27afddc3843c41ad105843ad167177 (patch) | |
| tree | e4bee21867617fe46c0c6a0a4e24ad2761fc0337 /meta-networking/recipes-protocols | |
| parent | d8e7190fd3de3807599ec8fafbd23b8bf68100a1 (diff) | |
| download | meta-openembedded-848bac20ea27afddc3843c41ad105843ad167177.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>
Diffstat (limited to 'meta-networking/recipes-protocols')
| -rw-r--r-- | meta-networking/recipes-protocols/dante/dante_1.4.4.bb | 2 |
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 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" | |||
| 29 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 29 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
| 30 | LIBS += "-ltirpc" | 30 | LIBS += "-ltirpc" |
| 31 | 31 | ||
| 32 | CFLAGS:append:libc-musl = " -D_GNU_SOURCE" | ||
| 33 | |||
| 32 | REQUIRED_DISTRO_FEATURES = "pam" | 34 | REQUIRED_DISTRO_FEATURES = "pam" |
| 33 | 35 | ||
| 34 | EXTRA_AUTORECONF = "-I ${S}" | 36 | EXTRA_AUTORECONF = "-I ${S}" |
