portcullis package: remove -m64 on aarch64. (#11905)
GCC on aarch64 dose not support -m64. This patch removes the -m64 flag if target is aarch64.
This commit is contained in:
		 Toyohisa Kameyama
					Toyohisa Kameyama
				
			
				
					committed by
					
						 Peter Scheibel
						Peter Scheibel
					
				
			
			
				
	
			
			
			 Peter Scheibel
						Peter Scheibel
					
				
			
						parent
						
							2709f948fa
						
					
				
				
					commit
					f1592e339d
				
			| @@ -45,6 +45,11 @@ def patch(self): | |||||||
|             'scripts/Makefile.am', string=True |             'scripts/Makefile.am', string=True | ||||||
|         ) |         ) | ||||||
|  |  | ||||||
|  |         # remove -m64 on aarch64 | ||||||
|  |         if self.spec.satisfies('target=aarch64'): | ||||||
|  |             for f in ['lib/Makefile.am', 'src/Makefile.am']: | ||||||
|  |                 filter_file('-m64', '', f) | ||||||
|  |  | ||||||
|     def build(self, spec, prefix): |     def build(self, spec, prefix): | ||||||
|         # build manpages |         # build manpages | ||||||
|         make('man') |         make('man') | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user