Signed-off-by: Przemyslaw Wesolek <przemyslaw.weso...@cs.put.poznan.pl> --- recipes/boost/boost_1.36.0.bb | 4 +++- recipes/boost/files/atomic_count_arm.patch | 11 +++++++++++ 2 files changed, 14 insertions(+), 1 deletions(-) create mode 100644 recipes/boost/files/atomic_count_arm.patch
diff --git a/recipes/boost/boost_1.36.0.bb b/recipes/boost/boost_1.36.0.bb index 140ab29..550405f 100644 --- a/recipes/boost/boost_1.36.0.bb +++ b/recipes/boost/boost_1.36.0.bb @@ -1,9 +1,11 @@ include boost-36.inc -PR = "r6" +PR = "r7" SRC_URI = "${SOURCEFORGE_MIRROR}/boost/${BOOST_P}.tar.bz2 \ file://arm-intrinsics.patch;patch=1 \ + file://atomic_count_gcc_atomicity.patch;patch=1 \ + file://atomic_count_arm.patch;patch=1 \ " BJAM_OPTS = '${BJAM_TOOLS} \ diff --git a/recipes/boost/files/atomic_count_arm.patch b/recipes/boost/files/atomic_count_arm.patch new file mode 100644 index 0000000..2c4c682 --- /dev/null +++ b/recipes/boost/files/atomic_count_arm.patch @@ -0,0 +1,11 @@ +--- boost_1_36_0/boost/detail/atomic_count.hpp.orig 2007-11-23 18:03:14.000000000 +0100 ++++ boost_1_36_0/boost/detail/atomic_count.hpp 2009-09-25 18:17:12.602907541 +0200 +@@ -101,7 +101,7 @@ + + # include <boost/detail/atomic_count_win32.hpp> + +-#elif defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) ++#elif defined( __GNUC__ ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __armel__ ) + + # include <boost/detail/atomic_count_sync.hpp> + -- 1.6.3.3 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel