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 06:27:18 -0700 |
commit | 636d1be38f2453b122605197fa746826c0ddf682 (patch) | |
tree | da2c2313fe0d4cebddd01ac002c0b77a6a4c0c50 /meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb | |
parent | 459f177c9e8f888e93663e1fddb16bb499ee9a0b (diff) | |
download | poky-636d1be38f2453b122605197fa746826c0ddf682.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: 86f4c68c76098d6735b4cb640996d748b8ff82fb)
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 cebc8660d0..46ac3692b1 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 |
@@ -26,7 +28,8 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/unfs3-0.9.22.r497.ta | |||
26 | file://rename_fh_cache.patch \ | 28 | file://rename_fh_cache.patch \ |
27 | file://relative_max_socket_path_len.patch \ | 29 | file://relative_max_socket_path_len.patch \ |
28 | file://tcp_no_delay.patch \ | 30 | file://tcp_no_delay.patch \ |
29 | " | 31 | file://0001-daemon.c-Libtirpc-porting-fixes.patch \ |
32 | " | ||
30 | SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" | 33 | SRC_URI[md5sum] = "2e43e471c77ade0331901c40b8f8e9a3" |
31 | SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" | 34 | SRC_URI[sha256sum] = "21009468a9ba07b72ea93780d025a63ab4e55bf8fc3127803c296f0900fe1bac" |
32 | 35 | ||
@@ -34,7 +37,8 @@ BBCLASSEXTEND = "native nativesdk" | |||
34 | 37 | ||
35 | inherit autotools | 38 | inherit autotools |
36 | EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" | 39 | EXTRA_OECONF_append_class-native = " --sbindir=${bindir}" |
37 | CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc" | 40 | CFLAGS += " -I${STAGING_INCDIR}/tirpc" |
41 | LDFLAGS += " -ltirpc" | ||
38 | 42 | ||
39 | # Turn off these header detects else the inode search | 43 | # Turn off these header detects else the inode search |
40 | # will walk entire file systems and this is a real problem | 44 | # will walk entire file systems and this is a real problem |