xinetd: Pass missing -D_GNU_SOURCE

We do not get proper function definitions otherwise e.g. fcvt()

(From OE-Core rev: 21dd5bae177b64e314a6423e5ffbd7b28b6b5891)

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>
This commit is contained in:
Khem Raj
2022-08-23 23:34:37 -07:00
committed by Richard Purdie
parent 9694c61d44
commit a9c31f0628

View File

@@ -30,6 +30,8 @@ INITSCRIPT_PARAMS = "defaults"
PACKAGECONFIG ??= "tcp-wrappers"
PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers"
CFLAGS += "-D_GNU_SOURCE"
CONFFILES:${PN} = "${sysconfdir}/xinetd.conf"
do_install:append() {