aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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')