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:
parent
4973e233d7
commit
25411280b9
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user