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

Enable C++11 on GCC/Clang builds.

This commit is contained in:
Nicholas Hastings 2015-04-15 08:14:53 -07:00
parent 59352d24de
commit 6d634be24e

View File

@ -131,6 +131,7 @@ class MMSConfig(object):
'-msse',
'-m32',
]
cfg.cxxflags += [ '-std=c++11' ]
if (cxx.name == 'gcc' and cxx.majorVersion >= 4) or cxx.name == 'clang':
cfg.cflags += ['-fvisibility=hidden']
cfg.cxxflags += ['-fvisibility-inlines-hidden']