-Wno-deprecated-declarations for OSX

This commit is contained in:
rdb 2009-12-23 20:31:08 +00:00
parent 0592074c95
commit 2b775dd535
1 changed files with 1 additions and 0 deletions

View File

@ -628,6 +628,7 @@ def CompileCxx(obj,src,opts):
if (opt=="ALWAYS") or (opts.count(opt)): cmd += ' -D' + var + '=' + val
for x in ipath: cmd += ' -I' + x
if (sys.platform == "darwin"):
cmd += " -Wno-deprecated-declarations"
if (OSXTARGET != None):
cmd += " -isysroot " + SDK["MACOSX"]
cmd += " -mmacosx-version-min=" + OSXTARGET