aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e97a71a..e0aa44d 100644
--- a/meson.build
+++ b/meson.build
@@ -17,6 +17,10 @@ deps = [thread_dep]
c_args = []
+if host_machine.system() == 'darwin'
+ c_args += '-Wno-deprecated-declarations' # shm_init/destroy
+endif
+
dummy_calloc = shared_library('dummy_calloc',
join_paths('test', 'dummy_calloc.c'),
c_args : c_args,