mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
meson: change error() to warning() when checking if membarrier is needed
If we don't know the exact architecture that's not fatal, might just be suboptimal, same as with autotools. https://bugzilla.gnome.org/show_bug.cgi?id=792338
This commit is contained in:
parent
17e03effda
commit
e7c044629f
@ -1293,7 +1293,7 @@ if host_cpu_family == 'x86' or host_cpu_family == 'x86_64' or host_cpu_family ==
|
||||
elif host_cpu_family.startswith('sparc') or host_cpu_family.startswith('alpha') or host_cpu_family.startswith('powerpc') or host_cpu_family == 'ia64'
|
||||
glib_memory_barrier_needed = true
|
||||
else
|
||||
error('Unknown host cpu: ' + host_cpu_family)
|
||||
warning('Unknown host cpu: ' + host_cpu_family)
|
||||
glib_memory_barrier_needed = true
|
||||
endif
|
||||
glibconfig_conf.set('G_ATOMIC_OP_MEMORY_BARRIER_NEEDED', glib_memory_barrier_needed)
|
||||
|
Loading…
Reference in New Issue
Block a user