From: Khem Raj Date: Wed, 24 Aug 2022 06:34:37 +0000 (-0700) Subject: xinetd: Pass missing -D_GNU_SOURCE X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21dd5bae177b64e314a6423e5ffbd7b28b6b5891;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git xinetd: Pass missing -D_GNU_SOURCE We do not get proper function definitions otherwise e.g. fcvt() Signed-off-by: Khem Raj Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- 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 62ee70d2446..897417314d4 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" PACKAGECONFIG ??= "tcp-wrappers" PACKAGECONFIG[tcp-wrappers] = "--with-libwrap,,tcp-wrappers" +CFLAGS += "-D_GNU_SOURCE" + CONFFILES:${PN} = "${sysconfdir}/xinetd.conf" do_install:append() {