[oe-commits] [meta-openembedded] 48/70: lockdev: Pretend GNU libc on musl

git at git.openembedded.org git at git.openembedded.org
Wed Nov 16 09:59:40 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit fc5abe261e5b39d6cbbf0061d2f78620050f32af
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