diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-01-06 16:08:31 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-12 23:08:58 +0000 |
commit | ce466626929c131db1a507e7723f9a460c475ab4 (patch) | |
tree | dc14591162f0434071b5984d5b7f90c2ab574aad /meta/site | |
parent | 8962d3a4ce9712b66e23d3fe4bb2919e6638cb12 (diff) | |
download | poky-ce466626929c131db1a507e7723f9a460c475ab4.tar.gz |
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>
Diffstat (limited to 'meta/site')
-rw-r--r-- | meta/site/common-musl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common-musl b/meta/site/common-musl index 86aed4a38c..23e50ef749 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -15,6 +15,8 @@ ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} | |||
15 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} | 15 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} |
16 | ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} | 16 | ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} |
17 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} | 17 | ac_cv_func_strtod=${ac_cv_func_strtod=yes} |
18 | # off_t is always 64bit on musl systems | ||
19 | ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64} | ||
18 | 20 | ||
19 | # glib | 21 | # glib |
20 | glib_cv_strlcpy=${glib_cv_strlcpy=no} | 22 | glib_cv_strlcpy=${glib_cv_strlcpy=no} |