--- meson.build.orig 2023-01-21 03:46:59.000000000 +0800 +++ meson.build 2023-01-21 03:47:31.000000000 +0800 @@ -139,9 +139,10 @@ os_android= host_os.contains('android') os_osx = host_os.contains('darwin') -if os_osx and cc.get_id() != 'clang' - error('You should use Clang on OSx.') -endif +# if os_osx and cc.get_id() != 'clang' +# error('You should use Clang on OSx.') +# endif +# Not necessarily. host_cpu_family = host_machine.cpu_family() if host_cpu_family == 'x86'