summaryrefslogtreecommitdiff
path: root/package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-25 10:47:41 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-25 10:49:04 +0200
commit29602842b2d3613d1b38b25b42adbb8dd61453a9 (patch)
tree7863615ca505583382d1dab86b8b20f1088cd019 /package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp
parentcd9515621ca932d7f0c27720cbd452494c6a9e5c (diff)
fix boost for armv6
Diffstat (limited to 'package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp')
-rw-r--r--package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp b/package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp
new file mode 100644
index 000000000..8a0f617da
--- /dev/null
+++ b/package/boost/patches/patch-boost_atomic_detail_caps_gcc_atomic_hpp
@@ -0,0 +1,12 @@
+--- boost_1_56_0.orig/boost/atomic/detail/caps_gcc_atomic.hpp 2014-07-07 20:40:41.000000000 +0200
++++ boost_1_56_0/boost/atomic/detail/caps_gcc_atomic.hpp 2014-09-20 11:44:49.000000000 +0200
+@@ -128,7 +128,7 @@
+ #define BOOST_ATOMIC_INT64_LOCK_FREE 0
+ #endif
+
+-#define BOOST_ATOMIC_THREAD_FENCE 2
+-#define BOOST_ATOMIC_SIGNAL_FENCE 2
++#define BOOST_ATOMIC_THREAD_FENCE 0
++#define BOOST_ATOMIC_SIGNAL_FENCE 0
+
+ #endif // BOOST_ATOMIC_DETAIL_CAPS_GCC_ATOMIC_HPP_INCLUDED_