summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-11-28 16:18:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:18 +0000
commit2d40119e11003b56174291b62c2f09fe4bc30750 (patch)
tree627cb5e4c0a3fa138ea5621cf2acaada12b9d73a
parentdc6c2274689f470c14cc090aeae9c0096ec51443 (diff)
downloadpoky-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>
-rw-r--r--meta/site/arm-linux1
-rw-r--r--meta/site/common-musl1
-rw-r--r--meta/site/ix86-common1
-rw-r--r--meta/site/nios2-linux1
-rw-r--r--meta/site/sh-common1
5 files changed, 1 insertions, 4 deletions
diff --git a/meta/site/arm-linux b/meta/site/arm-linux
index e6b9a726fb..7bf073eb77 100644
--- a/meta/site/arm-linux
+++ b/meta/site/arm-linux
@@ -142,7 +142,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
142clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} 142clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
143clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} 143clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
144clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 144clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
145ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
146 145
147#dbus 146#dbus
148ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} 147ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
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}
12ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes} 12ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
13ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes} 13ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
14ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes} 14ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
15ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
15 16
16# glib 17# glib
17glib_cv_strlcpy=${glib_cv_strlcpy=no} 18glib_cv_strlcpy=${glib_cv_strlcpy=no}
diff --git a/meta/site/ix86-common b/meta/site/ix86-common
index 4fbf58c0cf..c5e354c073 100644
--- a/meta/site/ix86-common
+++ b/meta/site/ix86-common
@@ -53,7 +53,6 @@ bash_cv_func_sigsetjmp=${bash_cv_func_sigsetjmp=missing}
53clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} 53clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
54clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} 54clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
55clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 55clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
56ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
57 56
58# cvs 57# cvs
59cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes} 58cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
diff --git a/meta/site/nios2-linux b/meta/site/nios2-linux
index 5bae748434..24bc5b033a 100644
--- a/meta/site/nios2-linux
+++ b/meta/site/nios2-linux
@@ -372,7 +372,6 @@ samba_cv_LINUX_LFS_SUPPORT=${samba_cv_LINUX_LFS_SUPPORT=yes}
372clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} 372clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
373clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} 373clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
374clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 374clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
375ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
376 375
377#dbus 376#dbus
378ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes} 377ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
diff --git a/meta/site/sh-common b/meta/site/sh-common
index fc4d6ad792..97c96934d7 100644
--- a/meta/site/sh-common
+++ b/meta/site/sh-common
@@ -227,7 +227,6 @@ with_broken_putenv=${with_broken_putenv=no}
227clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} 227clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
228clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} 228clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
229clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} 229clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
230ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
231 230
232# libnet 231# libnet
233ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no} 232ac_cv_lbl_unaligned_fail=${ac_cv_lbl_unaligned_fail=no}