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

More probably fix build on Clang.

This commit is contained in:
Nicholas Hastings 2015-04-16 10:18:57 -07:00
parent 4973e233d7
commit 25411280b9

View File

@ -150,6 +150,10 @@ class MMSConfig(object):
cfg.cflags += ['-mfpmath=sse']
if cxx.name == 'clang':
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']
else:
cfg.cxxflags += ['-Wno-deprecated']
elif cxx.name == 'msvc':
if builder.options.debug == '1':