aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-25 21:34:26 +0200
committerDavid Robillard <d@drobilla.net>2019-06-27 19:40:34 +0200
commit6e0b096f960cf876c5e375f916b8dbea9430d367 (patch)
treeae26309be48e7ae15ce2e664da036069c09b55b7
parent4aaad461550dac61795f7950f78062f320cd88ba (diff)
Disable deprecation warnings on MacOS
-rw-r--r--wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/wscript b/wscript
index 5b3b3d2..8c71523 100644
--- a/wscript
+++ b/wscript
@@ -41,6 +41,8 @@ def configure(conf):
if conf.env.TARGET_PLATFORM == 'win32':
conf.load('compiler_cxx', cache=True)
+ elif conf.env.TARGET_PLATFORM == 'darwin':
+ conf.env.append_unique('CFLAGS', ['-Wno-deprecated-declarations'])
autowaf.set_c_lang(conf, 'c99')