make clang++ default compiler on Mac
This commit is contained in:
		
							parent
							
								
									3a706cade7
								
							
						
					
					
						commit
						b5f2a98e89
					
				| @ -72,6 +72,8 @@ conf = Configure(env, custom_tests = { 'CheckBoost' : CheckBoost, 'CheckProtobuf | |||||||
| 
 | 
 | ||||||
| if GetOption('cxx') is None: | if GetOption('cxx') is None: | ||||||
|     #default Compiler |     #default Compiler | ||||||
|  |     if sys.platform == 'darwin':	#Mac OS X | ||||||
|  |         env['CXX'] = 'clang++' | ||||||
|     print 'Using default C++ Compiler: ', env['CXX'].strip() |     print 'Using default C++ Compiler: ', env['CXX'].strip() | ||||||
| else: | else: | ||||||
|     env.Replace(CXX = GetOption('cxx')) |     env.Replace(CXX = GetOption('cxx')) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user