1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00

Hello ambuild 2.1.

This commit is contained in:
Nicholas Hastings 2017-04-26 06:28:14 -04:00
parent 3f68ac6df3
commit f3ee5a6b1b

View File

@ -178,12 +178,12 @@ class MMSConfig(object):
cxx.cflags += ['-mfpmath=sse']
if cxx.family == 'clang':
if cfg.version >= 'clang-3.6':
cfg.cxxflags += ['-Wno-inconsistent-missing-override']
cfg.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cfg.version >= 'apple-clang-5.1' or cfg.version >= 'clang-3.4':
cfg.cxxflags += ['-Wno-deprecated-register']
cxx.cxxflags += ['-Wno-inconsistent-missing-override']
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cxx.version >= 'apple-clang-5.1' or cfg.version >= 'clang-3.4':
cxx.cxxflags += ['-Wno-deprecated-register']
else:
cfg.cxxflags += ['-Wno-deprecated']
cxx.cxxflags += ['-Wno-deprecated']
elif cxx.like('msvc'):
if builder.options.debug == '1':