aal: recognize but ignore an s option for GNU ar compatibility
				
					
				
			first/build.lua invokes the archiver $(AR) with the flags `cqs`. This patch allows this to work even if $(AR) is aal.
This commit is contained in:
		
							parent
							
								
									6bed61540d
								
							
						
					
					
						commit
						d85480f441
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -24,6 +24,9 @@ | |||
|  #ifdef DISTRIBUTION | ||||
|  *    D: make distribution: use distr_time, uid=2, gid=2, mode=0644 | ||||
|  #endif | ||||
|  #ifdef AAL | ||||
|  *    s: ignored; for compatibility with GNU ar (says to build index table) | ||||
|  #endif | ||||
|  */ | ||||
| 
 | ||||
| #include <fcntl.h> | ||||
|  | @ -324,6 +327,10 @@ int main(int argc, char *argv[]) | |||
| 			case 'D' : | ||||
| 			distr_fl = TRUE; | ||||
| 			break; | ||||
| #endif | ||||
| #ifdef AAL | ||||
| 		case 's': | ||||
| 			break; | ||||
| #endif | ||||
| 		default: | ||||
| 			usage(); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue