[glib] meson: change error() to warning() when checking if membarrier is needed



commit e7c044629f00d9f977776d28368bf580460e59b0
Author: Tim-Philipp Müller <tim centricular com>
Date:   Mon Jan 8 18:52:59 2018 +0000

    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

 meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index 4f14791..a63dcb2 100644
--- a/meson.build
+++ b/meson.build
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]