[oe-commits] [openembedded-core] 04/06: site: enable pthread support for x86_64 APR builds

git at git.openembedded.org git at git.openembedded.org
Mon Feb 29 15:11:24 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5aa3075fbf37cad1578e68b66bdc164c8f2cc59a
Author: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
AuthorDate: Mon Feb 29 16:53:00 2016 +0200

    site: enable pthread support for x86_64 APR builds
    
    The apache2 package is missing key pieces of pthread support (notably
    pthread_kill) on x86_64 platforms. Fix this by setting cached variable
    apr_cv_pthreads_cflags=-pthread which will trickle down into apache2 as
    well. powerpc32-linux currently sets this option.
    
    Suggested-by: Jacob Champion <jacob.champion at ni.com>
    Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/site/x86_64-linux | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index 573a907..5b37211 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -104,6 +104,7 @@ nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
 nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
 
 #apr
+apr_cv_pthreads_cflags=${apr_cv_pthreads_cflags=-pthread}
 apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
 
 # lftp

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list