mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-19 14:48:34 +02:00
build: Use memory barriers for ARM
ARM has much weaker memory ordering guarantees than x86 by default, and needs the memory barriers. A similar fix exists in the Skia codebase. Fix suggested by Nathan Froyd. Fixes: FDO #90302 Signed-off-by: Bryce Harrington <bryce@osg.samsung.com> Acked-by: "Henry (Yu) Song" <henry.song@samsung.com>
This commit is contained in:
parent
25a55822b4
commit
7cc77d1cee
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ AC_DEFUN([CAIRO_CHECK_ATOMIC_OP_NEEDS_MEMORY_BARRIER],
|
|||
case $host_cpu in
|
||||
i?86) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
|
||||
x86_64) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
|
||||
arm*) cairo_cv_atomic_op_needs_memory_barrier="no" ;;
|
||||
arm*) cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
|
||||
*) cairo_cv_atomic_op_needs_memory_barrier="yes" ;;
|
||||
esac
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue