mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
@@ -9,6 +9,7 @@ SRC_URI:append:class-target:pn-libstd-rs = "\
|
||||
SRC_URI:append:class-target:pn-rust = " \
|
||||
file://getrandom-open64.patch \
|
||||
file://0001-Do-not-use-LFS64-on-linux-with-musl.patch \
|
||||
file://zlib-off64_t.patch \
|
||||
file://hardcodepaths.patch \
|
||||
file://crossbeam_atomic.patch"
|
||||
SRC_URI:append:class-nativesdk:pn-nativesdk-rust = " file://hardcodepaths.patch"
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user