void-packages/srcpkgs/glib/patches/fix-armv5tel-build.patch
Rasmus Thomsen 3705b1f8e6 glib: fix armv5tel build
Closes: #2690 [via git-merge-pr]
2018-09-14 15:15:29 +02:00

11 lines
571 B
Diff

--- meson.build
+++ meson.build
@@ -1543,7 +1543,7 @@ atomicdefine = '''
# We know that we can always use real ("lock free") atomic operations with MSVC
if cc.get_id() == 'msvc' or cc.links(atomictest, name : 'atomic ops')
have_atomic_lock_free = true
- if host_system == 'android' and not cc.compiles(atomicdefine, name : 'atomic ops define')
+ if not cc.compiles(atomicdefine, name : 'atomic ops define')
# When building for armv5 on Android, gcc 4.9 provides
# __sync_bool_compare_and_swap but doesn't define
# __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4