diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2020-07-10 00:04:27 +0300 |
---|---|---|
committer | Janne Grunau <janne-vlc@jannau.net> | 2020-07-10 00:06:08 +0300 |
commit | 725f37684ddf51c9e8e35dbce856ce9ab164cf17 (patch) | |
tree | 716d981ff06fc2ef08f5a5ee296bcc3fd9734a7f /meson.build | |
parent | f116e076aef24eaf8b89917339afed7b7d0d6566 (diff) |
meson: disable asm for x32 ABI
Fixes #345.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 5be232a..e657121 100644 --- a/meson.build +++ b/meson.build @@ -62,7 +62,8 @@ endforeach # ASM option is_asm_enabled = (get_option('enable_asm') == true and - (host_machine.cpu_family().startswith('x86') or + (host_machine.cpu_family() == 'x86' or + (host_machine.cpu_family() == 'x86_64' and cc.get_define('__ILP32__') == '') or host_machine.cpu_family() == 'aarch64' or host_machine.cpu_family().startswith('arm') or host_machine.cpu() == 'ppc64le')) |