commit:     1a54546d5a2e677c46825e7cc3a309d1735733b0
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun May 31 03:26:52 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun May 31 03:26:52 2015 +0000
URL:        https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=1a54546d

config.site: import settings from Chromium OS

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 wrappers/site/linux            | 5 +++++
 wrappers/site/linux-gnu        | 4 ++++
 wrappers/site/mipsel-linux-gnu | 1 -
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/wrappers/site/linux b/wrappers/site/linux
index 0420677..4ee2c1e 100644
--- a/wrappers/site/linux
+++ b/wrappers/site/linux
@@ -17,6 +17,11 @@ glib_cv_va_copy=yes
 glib_cv_va_val_copy=no
 gio_can_sniff=yes
 
+# The AC_FUNC_MMAP macro uses AC_RUN to determine if support is available, and
+# sets the result to no when cross-compiling.  Since we know Linux supports 
this
+# everywhere, mark the test as yes.
+ac_cv_func_mmap_fixed_mapped=yes
+
 # coreutils. https://bugs.gentoo.org/show_bug.cgi?id=177061
 fu_cv_sys_stat_statvfs=yes
 gl_cv_func_re_compile_pattern_working=yes     

diff --git a/wrappers/site/linux-gnu b/wrappers/site/linux-gnu
index ef16877..f4273b8 100644
--- a/wrappers/site/linux-gnu
+++ b/wrappers/site/linux-gnu
@@ -8,6 +8,10 @@ gl_cv_func_wcwidth_works=yes
 # sys-apps/dbus-1.3.0
 ac_cv_have_abstract_sockets=yes
 
+# autoconf-provided macros.
+# The AC_FUNC_WAIT3 macro uses AC_RUN.  Iit's obsolete, but some still use it.
+ac_cv_func_wait3_rusage=yes
+
 # app-admin/sudo-1.7.2_p1
 sudo_cv_uid_t_len=10
 sudo_cv_func_unsetenv_void=no

diff --git a/wrappers/site/mipsel-linux-gnu b/wrappers/site/mipsel-linux-gnu
index d8b829f..14fd4b4 100644
--- a/wrappers/site/mipsel-linux-gnu
+++ b/wrappers/site/mipsel-linux-gnu
@@ -140,7 +140,6 @@ bash_cv_sys_siglist=${bash_cv_sys_siglist=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}
 
 # glib
 glib_cv_strlcpy=${glib_cv_strlcpy=no}

Reply via email to