[gegl/abderrahim/unknown-arch] build: don't fail on unknown architecture



commit e943716d9c8992d195ca28617f8d8869dac82a45
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sun Aug 18 12:36:47 2019 +0100

    build: don't fail on unknown architecture
    
    The autotools build ignored unknown architectures silently while the meson
    build errors out. This turns the error into a warning.
    
    See also babl@a7e2a2c4e57d947e608afa0493d381de6c9e9e26

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 979337873..e152925cf 100644
--- a/meson.build
+++ b/meson.build
@@ -86,7 +86,7 @@ elif host_cpu == 'ppc64' or host_cpu == 'powerpc64'
   config.set10('ARCH_PPC',    true)
   config.set10('ARCH_PPC64',  true)
 else
-  error('Unknown host architecture')
+  warning('Unknown host architecture')
 endif
 
 # Should be filled with c_arguments, is checked before use.


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