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:
		
							parent
							
								
									9d07c9d74c
								
							
						
					
					
						commit
						5f14073af1
					
				@ -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)]
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user