mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00: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']
|
cfg.cflags += ['-mfpmath=sse']
|
||||||
if cxx.name == 'clang':
|
if cxx.name == 'clang':
|
||||||
cfg.cxxflags += ['-Wno-implicit-exception-spec-mismatch']
|
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':
|
elif cxx.name == 'msvc':
|
||||||
if builder.options.debug == '1':
|
if builder.options.debug == '1':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user