From 5f14073af1b731750c646dba610a710f86aaeb6c Mon Sep 17 00:00:00 2001 From: Bara Date: Sun, 2 Jun 2019 11:07:26 +0200 Subject: [PATCH] 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. --- AMBuildScript | 1 + 1 file changed, 1 insertion(+) diff --git a/AMBuildScript b/AMBuildScript index 9fb8785..e0398c2 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -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)]