diff options
| author | Ross Burton <ross.burton@intel.com> | 2017-11-28 16:18:15 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-10 22:45:18 +0000 |
| commit | 2d40119e11003b56174291b62c2f09fe4bc30750 (patch) | |
| tree | 627cb5e4c0a3fa138ea5621cf2acaada12b9d73a /meta/site/common-musl | |
| parent | dc6c2274689f470c14cc090aeae9c0096ec51443 (diff) | |
| download | poky-2d40119e11003b56174291b62c2f09fe4bc30750.tar.gz | |
site: consolidate ac_cv_func_mmap_fixed_mapped definitions
This is the cache variable used by AC_FUNC_MMAP, which is possibly one of the
worst autoconf macros to exist.
Apart from being a runtime test which silently claims that mmap() is broken when
cross-compiling, this is basically to verify that mmap() actually works, because
SVR4.0 (released 1988) was broken. Thirty years later, everyone has a working
mmap().
common-glibc already has an assignment, so add a corresponding assignment to
common-musl and remove it from the machine-specific files.
(From OE-Core rev: 93dd7c87cef4fd9c22a09857fb55218c8be87b5b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
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 26fc103319..1b4fc32135 100644 --- a/meta/site/common-musl +++ b/meta/site/common-musl | |||
| @@ -12,6 +12,7 @@ ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes} | |||
| 12 | ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} | 12 | ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} |
| 13 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} | 13 | ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} |
| 14 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} | 14 | ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} |
| 15 | ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} | ||
| 15 | 16 | ||
| 16 | # glib | 17 | # glib |
| 17 | glib_cv_strlcpy=${glib_cv_strlcpy=no} | 18 | glib_cv_strlcpy=${glib_cv_strlcpy=no} |
