boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()
authorPhil Blundell <pb@pbcl.net>
Thu, 14 Nov 2013 14:41:21 +0000 (14:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:03:27 +0000 (14:03 +0000)
commitc4c029a7a2cadd89baacfadc5b3dc44d50a1d5eb
tree5040bc1eff0ccddfaa4984183b1ce67aa02bfd24
parentef3df027c7b0fe03d74cba59475b5445c8f0cb40
boost: Add patch to avoid undefined references to boost::atomic::lockpool::get_lock_for()

Boost::thread uses functions from boost::atomic but doesn't actually
link with libboost_atomic.  This works fine on platforms where
BOOST_ATOMIC_FLAG_LOCK_FREE is true but will lead to undefined
symbol references otherwise.  Fix this by applying a patch from
the upstream bug tracker to add the missing library linkage.

(From OE-Core rev: 1ffc27173576589191b037d111ecb59d94631de0)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/boost/boost_1.54.0.bb
meta/recipes-support/boost/files/boost-1.54.0-thread-link_atomic.patch [new file with mode: 0644]