]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
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)
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

index e6b9a726fb050817e4963ff77f9db2821c5816ac..7bf073eb7794ac3d9d4ffbaf3dc29a2e37f6b242 100644 (file)
@@ -142,7 +142,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
-ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 #dbus
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
index 26fc10331915c8748df2b9e8ba3378fd39f97baf..1b4fc321353c8f6101e9b9fb56cd9cd13bb6f587 100644 (file)
@@ -12,6 +12,7 @@ ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
+ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 # glib
 glib_cv_strlcpy=${glib_cv_strlcpy=no}
index 4fbf58c0cfdc71af5bf5eb2dab2aada9b0857a07..c5e354c073abcdda4b4fc8b0c13dfa35e69cae67 100644 (file)
@@ -53,7 +53,6 @@ bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
-ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 # cvs
 cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
index 5bae7484346a3cee9294d22937505ab36a742d3d..24bc5b033a172d3bba8200eede6c6b70f6cf63cf 100644 (file)
@@ -372,7 +372,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
-ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 #dbus
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
index fc4d6ad792dbeab1fbd102d67f166844b433551a..97c96934d711be27771ddcd54102dff62d8c40b5 100644 (file)
@@ -227,7 +227,6 @@ with_broken_putenv=${with_broken_putenv=no}
 clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
-ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 
 # libnet 
 ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}