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:19:54 +0000 |
commit | 9bf3f80e8862e9028a4f2115fbe2bc42a0b60a4f (patch) | |
tree | a4a4a289dc9e440033e0aaf550b46f55d2e9036a /meta/recipes-support/libbsd/libbsd_0.8.3.bb | |
parent | cbc59141807551a938e4b680ace0d05b8d826bb6 (diff) | |
download | poky-9bf3f80e8862e9028a4f2115fbe2bc42a0b60a4f.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
(From OE-Core rev: 757224640bbf4ebf17aea22fa1419c9c3bcd89ce)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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" | |||
36 | SRC_URI = " \ | 36 | SRC_URI = " \ |
37 | http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | 37 | http://libbsd.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ |
38 | " | 38 | " |
39 | SRC_URI_append_libc-musl = " \ | ||
40 | file://0001-Replace-__BEGIN_DECLS-and-__END_DECLS.patch \ | ||
41 | file://0002-Remove-funopen.patch \ | ||
42 | file://0003-Fix-build-breaks-due-to-missing-a.out.h.patch \ | ||
43 | " | ||
39 | 44 | ||
40 | SRC_URI[md5sum] = "e935c1bb6cc98a4a43cb1da22795493a" | 45 | SRC_URI[md5sum] = "e935c1bb6cc98a4a43cb1da22795493a" |
41 | SRC_URI[sha256sum] = "934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8" | 46 | SRC_URI[sha256sum] = "934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8" |