summaryrefslogtreecommitdiff
path: root/header_checks/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--header_checks/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index cb47b040d4..0b4ffe35fc 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -1,11 +1,11 @@
1if get_option('native-arch-optimization') 1if get_option('native-arch-optimization')
2 if target_machine.cpu_family() == 'x86' or target_machine.cpu_family() == 'x86_64' 2 if host_machine.cpu_family() == 'x86' or host_machine.cpu_family() == 'x86_64'
3 native_header = 'immintrin.h' 3 native_header = 'immintrin.h'
4 elif target_machine.cpu_family() == 'arm' 4 elif host_machine.cpu_family() == 'arm'
5 native_header = 'arm_neon.h' 5 native_header = 'arm_neon.h'
6 elif target_machine.cpu_family() == 'aarch64' 6 elif host_machine.cpu_family() == 'aarch64'
7 native_header = 'arm_neon.h' 7 native_header = 'arm_neon.h'
8 elif target_machine.cpu_family() == 'ppc' or target_machine.cpu_family() == 'ppc64' 8 elif host_machine.cpu_family() == 'ppc' or host_machine.cpu_family() == 'ppc64'
9 native_header = 'altivec.h' 9 native_header = 'altivec.h'
10 endif 10 endif
11 11