]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/blob
0241c290ac46bc49a3d0a533961d7c024569438a
[thirdparty/openembedded/openembedded-core-contrib.git] /
1 From 56194e9a6043873b0ec84f9d15c6e4caca2580c8 Mon Sep 17 00:00:00 2001
2 From: Darren Tucker <dtucker@dtucker.net>
3 Date: Tue, 8 Mar 2022 20:04:06 +1100
4 Subject: [PATCH] Default to not using sandbox when cross compiling.
5
6 On most systems poll(2) does not work when the number of FDs is reduced
7 with setrlimit, so assume it doesn't when cross compiling and we can't
8 run the test. bz#3398.
9
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
11 Upstream-Status: Backport [https://anongit.mindrot.org/openssh.git/patch/?id=8cf5275452a950869cb90eeac7d220b01f77b12e]
12 ---
13 configure.ac | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/configure.ac b/configure.ac
17 index 17fb1e6..a165d08 100644
18 --- a/configure.ac
19 +++ b/configure.ac
20 @@ -3574,8 +3574,8 @@ AC_RUN_IFELSE(
21 select_works_with_rlimit=yes],
22 [AC_MSG_RESULT([no])
23 select_works_with_rlimit=no],
24 - [AC_MSG_WARN([cross compiling: assuming yes])
25 - select_works_with_rlimit=yes]
26 + [AC_MSG_WARN([cross compiling: assuming no])
27 + select_works_with_rlimit=no]
28 )
29
30 AC_CHECK_MEMBERS([struct pollfd.fd], [], [], [[
31 --
32 2.35.1
33