boost: fix cxxstd=default (#8438)
This commit is contained in:
		 Denis Davydov
					Denis Davydov
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							4ec3cb1ddb
						
					
				
				
					commit
					d943754e92
				
			| @@ -329,7 +329,9 @@ def determine_b2_options(self, spec, options): | ||||
|  | ||||
|         # Deal with C++ standard. | ||||
|         if spec.satisfies('@1.66:'): | ||||
|             options.append('cxxstd={0}'.format(spec.variants['cxxstd'].value)) | ||||
|             if spec.variants['cxxstd'].value != 'default': | ||||
|                 options.append('cxxstd={0}'.format( | ||||
|                     spec.variants['cxxstd'].value)) | ||||
|         else:  # Add to cxxflags for older Boost. | ||||
|             flag = self.cxxstd_to_flag(spec.variants['cxxstd'].value) | ||||
|             if flag: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user