Fix linux build.
This commit is contained in:
		
							parent
							
								
									5c50f67898
								
							
						
					
					
						commit
						a9bbbe6665
					
				| @ -108,6 +108,8 @@ class DHooksConfig(object): | ||||
| 
 | ||||
|       have_gcc = cxx.vendor == 'gcc' | ||||
|       have_clang = cxx.vendor == 'clang' | ||||
|       if cxx.version >= 'clang-3.6': | ||||
|         cxx.cxxflags += ['-Wno-inconsistent-missing-override'] | ||||
|       if have_clang or (have_gcc and cxx.version >= '4'): | ||||
|         cxx.cflags += ['-fvisibility=hidden'] | ||||
|         cxx.cxxflags += ['-fvisibility-inlines-hidden'] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user