diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-11-06 23:25:26 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-15 15:18:49 +0000 |
commit | 757224640bbf4ebf17aea22fa1419c9c3bcd89ce (patch) | |
tree | df437d9f4a264099060ae7fec0be20c2282e4924 /meta/recipes-support/libbsd/libbsd_0.8.3.bb | |
parent | aafbc548ebc66dc0d703526f9a98f784e9c9605b (diff) | |
download | openembedded-core-contrib-757224640bbf4ebf17aea22fa1419c9c3bcd89ce.tar.gz |
libbsd: Fix build with musl
a.out.h support is not across all architectures only
x86/x86_64 support is in linux/a.out.h, this patch
abstracts the minimum needed constructs into itself
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libbsd/libbsd_0.8.3.bb')
-rw-r--r-- | meta/recipes-support/libbsd/libbsd_0.8.3.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-support/libbsd/libbsd_0.8.3.bb b/meta/recipes-support/libbsd/libbsd_0.8.3.bb index 6f734ab453..fadd7886a2 100644 --- a/meta/recipes-support/libbsd/libbsd_0.8.3.bb +++ b/meta/recipes-support/libbsd/libbsd_0.8.3.bb @@ -36,6 +36,11 @@ SECTION = "libs" SRC_URI = " \ http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ " +SRC_URI_append_libc-musl = " \ + file://0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch \ + file://0002-Remove-funopen.patch \ + file://0003-Fix-build-breaks-due-to-missing-a.out.h.patch \ +" SRC_URI[md5sum] = "e935c1bb6cc98a4a43cb1da22795493a" SRC_URI[sha256sum] = "934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8" |