aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-06 23:40:55 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:42 +0100
commitb70dd8f2af20bdafcdcec0db4ad4fb5b4e688e35 (patch)
treeec511f98da11019ee98c6a089891052be12f2e7f
parenta44b96910369750127df470fd3171f0065e94602 (diff)
downloadmeta-openembedded-contrib-b70dd8f2af20bdafcdcec0db4ad4fb5b4e688e35.tar.gz
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@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/lockdev/lockdev_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lockdev/lockdev_git.bb b/meta-oe/recipes-support/lockdev/lockdev_git.bb
index 023b9a7ddc..507ce3fe57 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__"