This define is needed for getting memrchr() declaration
Signed-off-by: Khem Raj <raj.khem@...>
---
meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
index 3ee2b5c239..86a58beda4 100644
--- a/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
+++ b/meta-oe/recipes-support/cpulimit/cpulimit_0.2.bb
@@ -18,5 +18,5 @@ do_install() {
install -m 0755 ${B}/src/${PN} ${D}${sbindir}/
}
-CFLAGS += "${LDFLAGS}"
+CFLAGS += "-D_GNU_SOURCE ${LDFLAGS}"
--
2.37.2