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

Hopefully last bit of fixups for Linux and Mac build.

This commit is contained in:
Nicholas Hastings 2017-04-26 09:10:55 -04:00 committed by GitHub
parent f3ee5a6b1b
commit 476ab85f86

View File

@ -177,10 +177,10 @@ class MMSConfig(object):
if cxx.family == 'gcc': if cxx.family == 'gcc':
cxx.cflags += ['-mfpmath=sse'] cxx.cflags += ['-mfpmath=sse']
if cxx.family == 'clang': if cxx.family == 'clang':
if cfg.version >= 'clang-3.6': if cxx.version >= 'clang-3.6':
cxx.cxxflags += ['-Wno-inconsistent-missing-override'] cxx.cxxflags += ['-Wno-inconsistent-missing-override']
cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch'] cxx.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
if cxx.version >= 'apple-clang-5.1' or cfg.version >= 'clang-3.4': if cxx.version >= 'apple-clang-5.1' or cxx.version >= 'clang-3.4':
cxx.cxxflags += ['-Wno-deprecated-register'] cxx.cxxflags += ['-Wno-deprecated-register']
else: else:
cxx.cxxflags += ['-Wno-deprecated'] cxx.cxxflags += ['-Wno-deprecated']
@ -473,4 +473,4 @@ if builder.backend == 'amb2':
builder.Build(BuildScripts, { 'MMS': MMS }) builder.Build(BuildScripts, { 'MMS': MMS })
if builder.options.breakpad_dump: if builder.options.breakpad_dump:
builder.Build('support/buildbot/BreakpadSymbols', { 'MMS': MMS }) builder.Build('support/buildbot/BreakpadSymbols', { 'MMS': MMS })