aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-30 23:26:52 -0400
committerMike Frysinger <vapier@gentoo.org>2015-05-30 23:26:52 -0400
commit1a54546d5a2e677c46825e7cc3a309d1735733b0 (patch)
tree9e5472c7eb0aef8b4995e7e4ab1bd7a7677d4ec2 /wrappers
parentconfig.site: fix sizes of some types (diff)
downloadcrossdev-1a54546d5a2e677c46825e7cc3a309d1735733b0.tar.gz
crossdev-1a54546d5a2e677c46825e7cc3a309d1735733b0.tar.bz2
crossdev-1a54546d5a2e677c46825e7cc3a309d1735733b0.zip
config.site: import settings from Chromium OS
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/site/linux5
-rw-r--r--wrappers/site/linux-gnu4
-rw-r--r--wrappers/site/mipsel-linux-gnu1
3 files changed, 9 insertions, 1 deletions
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}