Set _GLIBCXX_USE_CXX11_ABI to 0

Fix for builds against souremod 1.10 and csgo(?) linux servers.

Build loads fine without any cxx11 errors like before.
This commit is contained in:
Bara 2019-06-02 11:07:26 +02:00 committed by GitHub
parent 9d07c9d74c
commit 5f14073af1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,6 +353,7 @@ class ExtensionConfig(object):
if sdk.name == 'csgo' and builder.target_platform == 'linux':
compiler.linkflags += ['-lstdc++']
compiler.defines += ['_GLIBCXX_USE_CXX11_ABI=0']
for path in paths:
compiler.cxxincludes += [os.path.join(sdk.path, *path)]