GNOME Bugzilla – Bug 796325
meson: Add exception for atomic ops test for Android
Last modified: 2018-05-22 09:09:15 UTC
This fixes a build failure with meson on Android armv5 which doesn't happen with Autotools.
Created attachment 372324 [details] [review] meson: Add exception for atomic ops test for Android Some compilers, particularly Android on armv5 and old versions of Clang provide atomic ops, but don't define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 so we need to define it ourselves. This matches what configure does, with the exception that now it's only done for Android since clang defines __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 now.
Created attachment 372325 [details] [review] meson: Add exception for atomic ops test for Android Fixed a typo in the previous patch.
Review of attachment 372325 [details] [review]: ++
Attachment 372325 [details] pushed as 74af384 - meson: Add exception for atomic ops test for Android