glib: fix armv5tel build

Closes: #2690 [via git-merge-pr]
This commit is contained in:
Rasmus Thomsen 2018-09-12 21:42:30 +02:00 committed by Jürgen Buchmüller
parent 0be457b088
commit 3705b1f8e6
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- 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

View File

@ -1,7 +1,7 @@
# Template file for 'glib'
pkgname=glib
version=2.58.0
revision=3
revision=4
build_style=meson
configure_args="-Dfam=false -Dman=true -Dselinux=false"
hostmakedepends="pkg-config python3 libxslt docbook-xsl"