aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-05-19 16:51:05 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2018-05-19 16:51:05 +0200
commitc2df96bc90ede60fe36e3398b97ce59149b443f5 (patch)
treefb91681fb81c1198b5a0e173c8c4dc27c661f3a3 /meson.build
parent748715fe7d5bae9b4e266b62a577d4a74fc22dc1 (diff)
downloadlfrtm-c2df96bc90ede60fe36e3398b97ce59149b443f5.zip
lfrtm-c2df96bc90ede60fe36e3398b97ce59149b443f5.tar.gz
lfrtm-c2df96bc90ede60fe36e3398b97ce59149b443f5.tar.bz2
lfrtm-c2df96bc90ede60fe36e3398b97ce59149b443f5.tar.xz
don't fail on deprecated declarations on darwin.
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,