summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoy.Li <rongqing.li@windriver.com>2012-11-29 09:19:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-03 14:47:55 +0000
commitedd8d597717b39086316eb25699e7e2a64634d7d (patch)
tree6c027c5f3eee08594969e4523a46b43ecd9b67b7 /meta
parent1b98ab72e7104886993a81f059561c210c9d306e (diff)
downloadpoky-edd8d597717b39086316eb25699e7e2a64634d7d.tar.gz
site/common-linux: move ac_cv_o_nonblock_inherited to site/common-linux
When compiling apr for no-powerpc arch, the flag ac_cv_o_nonblock_inherited is always set to yes in cross compiling environment. This flag is intended to think the socket, returned from accept(), inherit file status flags such as O_NONBLOCK from the listening socket, but socket never inherits file status from the listening socket on Linux (more information to man accept). This is Linux-wide behaviour, so move it from meta/site/powerpc32-linux to site/common-linux. If ac_cv_o_nonblock_inherited is set to yes on Linux, clients can not access the same ip address(URL) with Apache web server via http(port 80) and https(port443) without redirection (From OE-Core rev: f31a7ed3463e169dc93f36cc0bbe084d3f99772a) Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/site/common-linux3
-rw-r--r--meta/site/powerpc32-linux1
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/site/common-linux b/meta/site/common-linux
index 8a9146eace..8b5be68be9 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -47,3 +47,6 @@ tcl_cv_api_serial=${tcl_cv_api_serial=termios}
47 47
48# python 48# python
49ac_cv_have_long_long_format=yes 49ac_cv_have_long_long_format=yes
50
51# apache
52ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no}
diff --git a/meta/site/powerpc32-linux b/meta/site/powerpc32-linux
index 4550df36c9..251bffe1ef 100644
--- a/meta/site/powerpc32-linux
+++ b/meta/site/powerpc32-linux
@@ -212,7 +212,6 @@ ac_cv_socklen_t=${ac_cv_socklen_t=yes}
212ac_cv_struct_rlimit=${ac_cv_struct_rlimit=yes} 212ac_cv_struct_rlimit=${ac_cv_struct_rlimit=yes}
213ac_cv_negative_eai=${ac_cv_negative_eai=yes} 213ac_cv_negative_eai=${ac_cv_negative_eai=yes}
214apr_cv_gai_addrconfig=${apr_cv_gai_addrconfig=no} 214apr_cv_gai_addrconfig=${apr_cv_gai_addrconfig=no}
215ac_cv_o_nonblock_inherited=${ac_cv_o_nonblock_inherited=no}
216apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes} 215apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
217 216
218# binutils (libiberty) 217# binutils (libiberty)