From b70dd8f2af20bdafcdcec0db4ad4fb5b4e688e35 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 6 Nov 2016 23:40:55 -0800 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-support/lockdev/lockdev_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-support/lockdev/lockdev_git.bb') diff --git a/meta-oe/recipes-support/lockdev/lockdev_git.bb b/meta-oe/recipes-support/lockdev/lockdev_git.bb index 023b9a7dd..507ce3fe5 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__" -- cgit v1.2.3-54-g00ecf