shithub: opus

Download patch

ref: 4ad7d2108133d070605b25b1eb91e32c279bf81e
parent: 918a09a344fde1eb28e0f8475fa84133691b01b1
author: Doug Nazar <[email protected]>
date: Fri Mar 26 11:49:02 EDT 2021

meson: Fix reporting of cpu family if intrinsics not supported

Signed-off-by: Doug Nazar <[email protected]>

--- a/meson.build
+++ b/meson.build
@@ -532,9 +532,9 @@
     endif # opt_rtcd
   else
     if opt_intrinsics.enabled()
-      error('intrinsics option enabled, but no intrinsics support for ' + host_machine.get_cpu())
+      error('intrinsics option enabled, but no intrinsics support for ' + host_cpu_family)
     endif
-    warning('No intrinsics support for ' + host_machine.get_cpu())
+    warning('No intrinsics support for ' + host_cpu_family)
   endif
 endif