mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
16 lines
525 B
Diff
16 lines
525 B
Diff
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -79,8 +79,10 @@
|
|
|
|
cpp_compiler = meson.get_compiler('cpp')
|
|
|
|
-extended_encoders_available = (cpp_compiler.has_header('emmintrin.h') and
|
|
- host_machine.cpu_family() == 'x86' and host_machine.cpu_family() == 'x86_64')
|
|
+extended_encoders_available = (
|
|
+ cpp_compiler.has_header('emmintrin.h') and
|
|
+ (host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64')
|
|
+)
|
|
|
|
if not extended_encoders_available
|
|
add_project_arguments('-DBUNDLE_NO_SSE', language: 'cpp')
|