]> code.ossystems Code Review - openembedded-core.git/commit
site: consolidate ac_cv_func_mmap_fixed_mapped definitions
authorRoss Burton <ross.burton@intel.com>
Tue, 28 Nov 2017 16:18:15 +0000 (16:18 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Dec 2017 14:36:58 +0000 (14:36 +0000)
commit93dd7c87cef4fd9c22a09857fb55218c8be87b5b
treeb48d54b5f9464ac7ef1e088832d85f1b7c2a690e
parent57fe9f61dd4c43f8267b831c1b177ad67010d78c
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/site/arm-linux
meta/site/common-musl
meta/site/ix86-common
meta/site/nios2-linux
meta/site/sh-common