Fix mac compilation

This commit is contained in:
Vincent Herbet 2015-06-27 16:26:39 +02:00
parent 30a97db735
commit f68a53e46a

View File

@ -162,7 +162,7 @@ class AMXXConfig(object):
else:
cfg.cxxflags += ['-Wno-deprecated']
cfg.cflags += ['-Wno-sometimes-uninitialized']
if cxx.version >= '3.6':
if builder.target_platform == 'linux' and cxx.version >= '3.6':
cfg.cxxflags += ['-Wno-inconsistent-missing-override']
if have_gcc: