diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-03 12:05:49 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:47 +0000 |
| commit | a50bad0c5880ffee85a1a7200789a5ee57dc82e0 (patch) | |
| tree | c2c3739c6952f160e3d4989cdab4b287ffe6b1d0 /meta/recipes-devtools/rust/rust-source.inc | |
| parent | de5aac2a0b9dd0656669d110cef47f2366c8043d (diff) | |
| download | poky-a50bad0c5880ffee85a1a7200789a5ee57dc82e0.tar.gz | |
rust: Fix build with 64bit time_t
The vendored copy of zlib undefines _FILE_OFFSET_BITS when
_LARGEFILE64_SOURCE is defined and enabling 64bit time_t requires 64bit
off_t ( _FILE_OFFSET_BITS=64 ), therefore remove this from the
zlib module
(From OE-Core rev: 73e56624e815c52308a81852430a8bb050a0fc58)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-source.inc')
| -rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 643494b37e..bfb625fb36 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
| @@ -9,6 +9,7 @@ SRC_URI:append:class-target:pn-libstd-rs = "\ | |||
| 9 | SRC_URI:append:class-target:pn-rust = " \ | 9 | SRC_URI:append:class-target:pn-rust = " \ |
| 10 | file://getrandom-open64.patch \ | 10 | file://getrandom-open64.patch \ |
| 11 | file://0001-Do-not-use-LFS64-on-linux-with-musl.patch \ | 11 | file://0001-Do-not-use-LFS64-on-linux-with-musl.patch \ |
| 12 | file://zlib-off64_t.patch \ | ||
| 12 | file://hardcodepaths.patch \ | 13 | file://hardcodepaths.patch \ |
| 13 | file://crossbeam_atomic.patch" | 14 | file://crossbeam_atomic.patch" |
| 14 | SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch" | 15 | SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch" |
