mirror of
https://git.yoctoproject.org/poky
synced 2026-06-07 03:04:04 +00:00
site/common-musl: Set ac_cv_sys_file_offset_bits default to 64
off_t is always 64bit on musl regardless of 32bit or 64bit architectures. autoconf has AC_SYS_LARGEFILE to detect correct off_t size but it only work with glibc since it defines feature macros _FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE but these macros are not used on musl headers. (From OE-Core rev: 09b3e8417d362b75f3b43a5a97b47700f97bf643) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -15,6 +15,8 @@ ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
|
||||
ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
|
||||
ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
|
||||
ac_cv_func_strtod=${ac_cv_func_strtod=yes}
|
||||
# off_t is always 64bit on musl systems
|
||||
ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
|
||||
|
||||
# glib
|
||||
glib_cv_strlcpy=${glib_cv_strlcpy=no}
|
||||
|
||||
Reference in New Issue
Block a user