aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-06 23:40:55 -0800
committerArmin Kuster <akuster808@gmail.com>2016-11-29 08:22:21 -0800
commitd2a990bc72dbe8b119b174d07ab12f65a88ac857 (patch)
tree9d208b528a24d3ef9d12c7e41046cd3581c4c154 /meta-oe/recipes-support
parent02bca9e5f4e7d11c3567b08d2817ceebd06ca62b (diff)
downloadmeta-openembedded-contrib-d2a990bc72dbe8b119b174d07ab12f65a88ac857.tar.gz
meta-openembedded-contrib-d2a990bc72dbe8b119b174d07ab12f65a88ac857.tar.bz2
meta-openembedded-contrib-d2a990bc72dbe8b119b174d07ab12f65a88ac857.zip
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> (cherry picked from commit b70dd8f2af20bdafcdcec0db4ad4fb5b4e688e35) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-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__"