1 |
commit: 1a54546d5a2e677c46825e7cc3a309d1735733b0 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 31 03:26:52 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 31 03:26:52 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=1a54546d |
7 |
|
8 |
config.site: import settings from Chromium OS |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
wrappers/site/linux | 5 +++++ |
13 |
wrappers/site/linux-gnu | 4 ++++ |
14 |
wrappers/site/mipsel-linux-gnu | 1 - |
15 |
3 files changed, 9 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/wrappers/site/linux b/wrappers/site/linux |
18 |
index 0420677..4ee2c1e 100644 |
19 |
--- a/wrappers/site/linux |
20 |
+++ b/wrappers/site/linux |
21 |
@@ -17,6 +17,11 @@ glib_cv_va_copy=yes |
22 |
glib_cv_va_val_copy=no |
23 |
gio_can_sniff=yes |
24 |
|
25 |
+# The AC_FUNC_MMAP macro uses AC_RUN to determine if support is available, and |
26 |
+# sets the result to no when cross-compiling. Since we know Linux supports this |
27 |
+# everywhere, mark the test as yes. |
28 |
+ac_cv_func_mmap_fixed_mapped=yes |
29 |
+ |
30 |
# coreutils. https://bugs.gentoo.org/show_bug.cgi?id=177061 |
31 |
fu_cv_sys_stat_statvfs=yes |
32 |
gl_cv_func_re_compile_pattern_working=yes |
33 |
|
34 |
diff --git a/wrappers/site/linux-gnu b/wrappers/site/linux-gnu |
35 |
index ef16877..f4273b8 100644 |
36 |
--- a/wrappers/site/linux-gnu |
37 |
+++ b/wrappers/site/linux-gnu |
38 |
@@ -8,6 +8,10 @@ gl_cv_func_wcwidth_works=yes |
39 |
# sys-apps/dbus-1.3.0 |
40 |
ac_cv_have_abstract_sockets=yes |
41 |
|
42 |
+# autoconf-provided macros. |
43 |
+# The AC_FUNC_WAIT3 macro uses AC_RUN. Iit's obsolete, but some still use it. |
44 |
+ac_cv_func_wait3_rusage=yes |
45 |
+ |
46 |
# app-admin/sudo-1.7.2_p1 |
47 |
sudo_cv_uid_t_len=10 |
48 |
sudo_cv_func_unsetenv_void=no |
49 |
|
50 |
diff --git a/wrappers/site/mipsel-linux-gnu b/wrappers/site/mipsel-linux-gnu |
51 |
index d8b829f..14fd4b4 100644 |
52 |
--- a/wrappers/site/mipsel-linux-gnu |
53 |
+++ b/wrappers/site/mipsel-linux-gnu |
54 |
@@ -140,7 +140,6 @@ bash_cv_sys_siglist=${bash_cv_sys_siglist=yes} |
55 |
clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes} |
56 |
clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes} |
57 |
clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes} |
58 |
-ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes} |
59 |
|
60 |
# glib |
61 |
glib_cv_strlcpy=${glib_cv_strlcpy=no} |