-Wno-deprecated-declarations for OSX
This commit is contained in:
parent
0592074c95
commit
2b775dd535
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue