[babl/abderrahim/build-fixes: 2/2] build: don't fail on unknown architecture



commit a7e2a2c4e57d947e608afa0493d381de6c9e9e26
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Fri Aug 2 05:54:26 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.
    
    Fixes #41

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 9389b3f..66aa981 100644
--- a/meson.build
+++ b/meson.build
@@ -103,7 +103,7 @@ elif host_cpu == 'ppc64' or host_cpu == 'powerpc64'
   conf.set10('ARCH_PPC64', true, description:
     'Define to 1 if you are compiling for PowerPC64.')
 else
-  error('Unknown host architecture')
+  warning('Unknown host architecture')
 endif
 
 host_os = host_machine.system()


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