[oe-commits] [meta-openembedded] 34/89: lockdev: Pretend GNU libc on musl
git at git.openembedded.org
git at git.openembedded.org
Wed Nov 23 14:33:36 UTC 2016
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit b70dd8f2af20bdafcdcec0db4ad4fb5b4e688e35
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Nov 6 23:40:55 2016 -0800
lockdev: Pretend GNU libc on musl
it has all needed features but expects " -D__GNU_LIBRARY__"
so make it happy when using musl
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/lockdev/lockdev_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-support/lockdev/lockdev_git.bb b/meta-oe/recipes-support/lockdev/lockdev_git.bb
index 023b9a7..507ce3f 100644
--- a/meta-oe/recipes-support/lockdev/lockdev_git.bb
+++ b/meta-oe/recipes-support/lockdev/lockdev_git.bb
@@ -18,3 +18,5 @@ do_configure_prepend () {
# Make automake happy
touch ChangeLog
}
+
+CFLAGS_append_libc-musl = " -D__GNU_LIBRARY__"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list