diff options
author | André Draszik <git@andred.net> | 2020-01-10 16:52:50 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 09:19:20 +0000 |
commit | 3f1455887ab3f9105d8077e184e48894411cb439 (patch) | |
tree | 804c5ae03c4b2a5ab9f90f83f808c64edbed52c1 /meta/site/common-musl | |
parent | 8eec7e14dba4f802471763885e8d6ca4eeb3a247 (diff) | |
download | poky-3f1455887ab3f9105d8077e184e48894411cb439.tar.gz |
site: musl and glibc have glibc compatible calloc()
calloc (N, S) returns non-NULL when N*S is zero,
and returns NULL when N*S overflows.
(From OE-Core rev: ba2bc4b6529013a303dd67abe944ceb619e7466c)
Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/common-musl')
-rw-r--r-- | meta/site/common-musl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/site/common-musl b/meta/site/common-musl index bbf2f9c72b..d8ff44327f 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
@@ -1,5 +1,6 @@ | |||
1 | # general | 1 | # general |
2 | ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=no} | 2 | ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=no} |
3 | ac_cv_func_calloc_0_nonnull=${ac_cv_func_calloc_0_nonnull=yes} | ||
3 | ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} | 4 | ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes} |
4 | ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} | 5 | ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes} |
5 | ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} | 6 | ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes} |