diff options
author | Arun Raghavan <arun@arunraghavan.net> | 2019-08-15 15:30:00 +0530 |
---|---|---|
committer | Arun Raghavan <arun@arunraghavan.net> | 2019-08-15 18:57:13 +0530 |
commit | cd8dfee947bf98f99d42ab6f8b42c77b7b3bbc5e (patch) | |
tree | a2dfd7d49c1a590316ad58c603f31702b65ff28c | |
parent | c90fa7f8576cf47e329098d77e4b377faa7e13f5 (diff) | |
download | pulseaudio-cd8dfee947bf98f99d42ab6f8b42c77b7b3bbc5e.tar.gz |
build-sys: meson: Add a check for fast 64-bit operations
-rw-r--r-- | meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build index ae3d81ae2..0025bf596 100644 --- a/meson.build +++ b/meson.build @@ -167,6 +167,10 @@ elif host_machine.system() == 'windows' # cdata.set('__EXTENSIONS__', 1) endif +if host_machine.cpu_family() == 'x86_64' or cc.sizeof('void *') >= 8 + cdata.set('HAVE_FAST_64BIT_OPERATIONS', 1) +endif + # Headers check_headers = [ |