diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-03-11 21:40:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-15 15:47:53 -0700 |
commit | e48e13e1cd0cce46723761bfd807cd0c0cfd44ef (patch) | |
tree | 35ce96e749e9334dfafe0973a7e9e0e082d90157 /meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | |
parent | 283aca3918d9859292a5dbf27473f6f0a2b90afe (diff) | |
download | poky-e48e13e1cd0cce46723761bfd807cd0c0cfd44ef.tar.gz |
unfs3: Fix build with musl
Should also fix build on new build hosts where
with glibc 2.27 rpc support is dropped in favor
of libtirpc
(From OE-Core rev: f5992ee01fca27d5fdfb9108f436adfcb49f1ae7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb')
-rw-r--r-- | meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb index 52aa17e251..8a76e5d0e8 100644 --- a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb +++ b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | |||
@@ -9,9 +9,11 @@ RECIPE_UPSTREAM_DATE = "Oct 08, 2015" | |||
9 | CHECK_DATE = "Dec 10, 2015" | 9 | CHECK_DATE = "Dec 10, 2015" |
10 | 10 | ||
11 | DEPENDS = "flex-native bison-native flex" | 11 | DEPENDS = "flex-native bison-native flex" |
12 | DEPENDS_append_libc-musl = " libtirpc" | 12 | DEPENDS += "libtirpc" |
13 | DEPENDS_append_class-nativesdk = " flex-nativesdk" | 13 | DEPENDS_append_class-nativesdk = " flex-nativesdk" |
14 | 14 | ||
15 | ASNEEDED = "" | ||
16 | |||
15 | MOD_PV = "497" | 17 | MOD_PV = "497" |
16 | S = "${WORKDIR}/trunk" | 18 | S = "${WORKDIR}/trunk" |
17 | # Only subversion url left in OE-Core, use a mirror tarball instead since | 19 | # Only subversion url left in OE-Core, use a mirror tarball instead since |
@@ -25,7 +27,8 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/trunk_svn.code.sf.ne | |||
25 | file://rename_fh_cache.patch \ | 27 | file://rename_fh_cache.patch \ |
26 | file://relative_max_socket_path_len.patch \ | 28 | file://relative_max_socket_path_len.patch \ |
27 | file://tcp_no_delay.patch \ | 29 | file://tcp_no_delay.patch \ |
28 | " | 30 | file://0001-daemon.c-Libtirpc-porting-fixes.patch \ |
31 | " | ||
29 | SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" | 32 | SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" |
30 | SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" | 33 | SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" |
31 | 34 | ||
@@ -33,7 +36,8 @@ BBCLASSEXTEND = "native nativesdk" | |||
33 | 36 | ||
34 | inherit autotools | 37 | inherit autotools |
35 | EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" | 38 | EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" |
36 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 39 | CFLAGS += " -I${STAGING_INCDIR}/tirpc" |
40 | LDFLAGS += " -ltirpc" | ||
37 | 41 | ||
38 | # Turn off these header detects else the inode search | 42 | # Turn off these header detects else the inode search |
39 | # will walk entire file systems and this is a real problem | 43 | # will walk entire file systems and this is a real problem |