OpenImageIO/oiio-arm.patch
Richard M. Shaw 6c9f5a1ca4 Update to latest upstream release.
Upstream has accepted the NOP solution for arm and s390 but some patching may still be necessary.
TBB is no longer required as the internal spinlocks are faster than the TBB implementation.
2013-07-15 15:13:26 -05:00

16 lines
412 B
Diff

--- oiio-Release-1.1.10/src/include/thread.h.orig 2013-04-01 00:27:21.337292586 +0100
+++ oiio-Release-1.1.10/src/include/thread.h 2013-04-01 00:30:08.910886481 +0100
@@ -446,7 +450,12 @@
// Disallow copy construction by making private and unimplemented.
atomic (atomic const &);
+#if defined __arm__
+} __attribute__((aligned(8)));
+#else
};
+#endif
+
#endif /* ! USE_TBB_ATOMIC */