Check for ARM compiler in addition to clang (#10280)
Add "-rtlib=compiler-rt" to CFLAGS when building with either Clang or the ARM compiler. Refs #10279
This commit is contained in:
		 Ross Miller
					Ross Miller
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							dabf4f17d3
						
					
				
				
					commit
					2934eda311
				
			| @@ -34,7 +34,8 @@ def configure_args(self): | |||||||
|         spec = self.spec |         spec = self.spec | ||||||
|         args = ['--enable-c++'] |         args = ['--enable-c++'] | ||||||
|  |  | ||||||
|         if spec.satisfies('%clang') and not spec.satisfies('platform=darwin'): |         if (spec.satisfies('%clang') or spec.satisfies('%arm')) and not \ | ||||||
|  |            spec.satisfies('platform=darwin'): | ||||||
|             args.append('CFLAGS=-rtlib=compiler-rt') |             args.append('CFLAGS=-rtlib=compiler-rt') | ||||||
|  |  | ||||||
|         if spec.satisfies('%intel'): |         if spec.satisfies('%intel'): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user