All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] site: enable pthread support for x86_64 APR builds
@ 2016-02-29 13:42 Ioan-Adrian Ratiu
  2016-02-29 13:50 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-02-29 13:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Jacob Champion

From: Jacob Champion <jacob.champion@ni.com>

The apache2 package was missing key pieces of pthread support (notably,
pthread_kill) on x86_64 platforms. Fix this by setting some cached
variables that are already set for other targets:

  apr_cv_pthreads_cflags=-pthread: enables pthread support for APR,
  which will trickle down into apache2 as well. powerpc32-linux
  currently sets this option.

  apr_cv_process_shared_works=no: several platforms already set this
  option, which conservatively disables support for PROCESS_SHARED
  mutexes.

Signed-off-by: Jacob Champion <jacob.champion@ni.com>
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta/site/x86_64-linux | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index 573a907..9a67445 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -104,6 +104,8 @@ nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
 nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
 
 #apr
+apr_cv_process_shared_works=${apr_cv_process_shared_works=no}
+apr_cv_pthreads_cflags=${apr_cv_pthreads_cflags=-pthread}
 apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
 
 # lftp
-- 
2.7.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-18 22:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-29 13:42 [PATCH v1] site: enable pthread support for x86_64 APR builds Ioan-Adrian Ratiu
2016-02-29 13:50 ` Burton, Ross
2016-02-29 14:04   ` Ioan-Adrian Ratiu
2016-03-18  0:22   ` Khem Raj
2016-03-18 11:38     ` Burton, Ross
2016-03-18 22:47       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.