summaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-01-06 16:08:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-12 23:08:58 +0000
commitce466626929c131db1a507e7723f9a460c475ab4 (patch)
treedc14591162f0434071b5984d5b7f90c2ab574aad /meta/site
parent8962d3a4ce9712b66e23d3fe4bb2919e6638cb12 (diff)
downloadpoky-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-musl2
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}
15ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} 15ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
16ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} 16ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
17ac_cv_func_strtod=${ac_cv_func_strtod=yes} 17ac_cv_func_strtod=${ac_cv_func_strtod=yes}
18# off_t is always 64bit on musl systems
19ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
18 20
19# glib 21# glib
20glib_cv_strlcpy=${glib_cv_strlcpy=no} 22glib_cv_strlcpy=${glib_cv_strlcpy=no}