Fix below apr configure issue of powerpc64 targets.
| configure:27173: checking whether TCP_NODELAY and TCP_CORK can both be
| enabled
| configure:27179: error: in 
`/home/yocto/workspace/sdk-devel/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/apr/1.4.6-r2/apr-1.4.6':
| configure:27181: error: cannot run test program while cross compiling

Signed-off-by: Zhenhua Luo <zhenhua....@freescale.com>
---
 meta/site/powerpc64-linux |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/site/powerpc64-linux b/meta/site/powerpc64-linux
index 2b147d7..d64e230 100644
--- a/meta/site/powerpc64-linux
+++ b/meta/site/powerpc64-linux
@@ -33,3 +33,7 @@ screen_cv_sys_terminfo_used=${screen_cv_sys_terminfo_used=yes}
 
 # libpcap
 ac_cv_linux_vers=${ac_cv_linux_vers=2}
+
+# apr
+apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
+
-- 
1.7.9.5


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to