Merge pull request #249 from tkchia/tkchia/self-host

aal: recognize but ignore an `s` option for GNU ar compatibility
This commit is contained in:
David Given 2022-03-19 21:40:20 +00:00 committed by GitHub
commit 4972c81a5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();