libffi: add -Wno-error=implicit-function-declaration for Arm compiler (#36832)
This commit is contained in:
		 Annop Wongwathanarat
					Annop Wongwathanarat
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							242c1e4535
						
					
				
				
					commit
					6d366c39ae
				
			| @@ -40,7 +40,7 @@ def headers(self): | |||||||
| 
 | 
 | ||||||
|     def flag_handler(self, name, flags): |     def flag_handler(self, name, flags): | ||||||
|         if name == "cflags": |         if name == "cflags": | ||||||
|             if self.spec.satisfies("%oneapi@2023:"): |             if self.spec.satisfies("%oneapi@2023:") or self.spec.satisfies("%arm@23.04:"): | ||||||
|                 flags.append("-Wno-error=implicit-function-declaration") |                 flags.append("-Wno-error=implicit-function-declaration") | ||||||
|         return (flags, None, None) |         return (flags, None, None) | ||||||
| 
 | 
 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user