diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-08-23 23:34:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-09-03 13:09:49 +0100 |
commit | 079ccabcaf343e003456974b192b06d2f9abf59a (patch) | |
tree | c66b87ed5fd85e48a5b90ee91e8efc399ea7d752 /meta | |
parent | 328e343baaa8c53a5e6d060360f4da7675402b15 (diff) | |
download | poky-079ccabcaf343e003456974b192b06d2f9abf59a.tar.gz |
xinetd: Pass missing -D_GNU_SOURCE
We do not get proper function definitions otherwise e.g. fcvt()
(From OE-Core rev: 37322e0009ff2d1b17590285e3164afe141e6187)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21dd5bae177b64e314a6423e5ffbd7b28b6b5891)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb index 62ee70d244..897417314d 100644 --- a/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb +++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.4.bb | |||
@@ -30,6 +30,8 @@ INITSCRIPT_PARAMS = "defaults" | |||
30 | PACKAGECONFIG ??= "tcp-wrappers" | 30 | PACKAGECONFIG ??= "tcp-wrappers" |
31 | PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" | 31 | PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" |
32 | 32 | ||
33 | CFLAGS += "-D_GNU_SOURCE" | ||
34 | |||
33 | CONFFILES:${PN} = "${sysconfdir}/xinetd.conf" | 35 | CONFFILES:${PN} = "${sysconfdir}/xinetd.conf" |
34 | 36 | ||
35 | do_install:append() { | 37 | do_install:append() { |