Fix rtti issue
This commit is contained in:
		
							parent
							
								
									709e3cd03b
								
							
						
					
					
						commit
						881a839896
					
				| @ -215,6 +215,11 @@ class DHooksConfig(object): | |||||||
|     elif builder.target_platform == 'windows': |     elif builder.target_platform == 'windows': | ||||||
|       cxx.defines += ['WIN32', '_WINDOWS'] |       cxx.defines += ['WIN32', '_WINDOWS'] | ||||||
| 
 | 
 | ||||||
|  |     if cxx.vendor == 'gcc' or cxx.vendor == 'clang': | ||||||
|  |       cxx.cxxflags += ['-fno-rtti'] | ||||||
|  |     elif cxx.vendor == 'msvc': | ||||||
|  |       cxx.cxxflags += ['/GR-'] | ||||||
|  |   | ||||||
|     cxx.defines += ['META_NO_HL2SDK'] |     cxx.defines += ['META_NO_HL2SDK'] | ||||||
| 	 | 	 | ||||||
|   def IncludeSDKs(self, builder): |   def IncludeSDKs(self, builder): | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user