[oe-commits] [meta-openembedded] branch master-next updated: safec: Define _GNU_SOURCE
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 11 06:56:19 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
The following commit(s) were added to refs/heads/master-next by this push:
new c93f66d safec: Define _GNU_SOURCE
c93f66d is described below
commit c93f66d65a333dee1bd7b8dbb776ceedc715cf86
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Sep 10 23:52:53 2019 -0700
safec: Define _GNU_SOURCE
musl does not define this variable automatically but safec does provide
wrapper for some GNU extentions as well e.g.
error: implicit declaration of function 'localtime_r' is invalid in C99
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-core/safec/safec_3.4.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-core/safec/safec_3.4.bb b/meta-oe/recipes-core/safec/safec_3.4.bb
index b4c125f..cc1fbcb 100644
--- a/meta-oe/recipes-core/safec/safec_3.4.bb
+++ b/meta-oe/recipes-core/safec/safec_3.4.bb
@@ -10,6 +10,8 @@ S = "${WORKDIR}/git"
SRCREV = "62e6b2df55084316d027165d286e46beb40513dc"
SRC_URI = "git://github.com/rurban/safeclib.git"
+CPPFLAGS_append_libc-musl = " -D_GNU_SOURCE"
+
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm).*-linux'
RDEPENDS_${PN} = "perl"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list