update for latest sourcemod + cs:go update (thx Vauff)

This commit is contained in:
2021-06-03 18:54:54 +02:00
parent 8b955e85a2
commit 6f0ce651eb
2 changed files with 7 additions and 6 deletions

View File

@ -178,7 +178,7 @@ class ExtensionConfig(object):
'-fvisibility=hidden',
]
cxx.cxxflags += [
'-std=c++11',
'-std=c++14',
'-fno-exceptions',
'-fno-threadsafe-statics',
'-Wno-non-virtual-dtor',
@ -266,6 +266,7 @@ class ExtensionConfig(object):
cxx.linkflags += ['-static-libgcc']
elif cxx.vendor == 'clang':
cxx.linkflags += ['-lgcc_eh']
cxx.linkflags += ['-static-libstdc++']
def configure_mac(self, cxx):
cxx.defines += ['OSX', '_OSX', 'POSIX']