--- 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_
