projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90fa7f
)
build-sys: meson: Add a check for fast 64-bit operations
author
Arun Raghavan
<arun@arunraghavan.net>
Thu, 15 Aug 2019 10:00:00 +0000
(15:30 +0530)
committer
Arun Raghavan
<arun@arunraghavan.net>
Thu, 15 Aug 2019 13:27:13 +0000
(18:57 +0530)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index ae3d81ae22e645417f65e4c23a4c2fedb065fa98..0025bf5963326e9ae3f548b20698dfe7a9c3fa2b 100644
(file)
--- 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 = [