From 6e0b096f960cf876c5e375f916b8dbea9430d367 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 25 Jun 2019 21:34:26 +0200 Subject: Disable deprecation warnings on MacOS --- wscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wscript') 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') -- cgit v1.2.1