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
|
@ -24,6 +24,9 @@
|
||||||
#ifdef DISTRIBUTION
|
#ifdef DISTRIBUTION
|
||||||
* D: make distribution: use distr_time, uid=2, gid=2, mode=0644
|
* D: make distribution: use distr_time, uid=2, gid=2, mode=0644
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef AAL
|
||||||
|
* s: ignored; for compatibility with GNU ar (says to build index table)
|
||||||
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
@ -324,6 +327,10 @@ int main(int argc, char *argv[])
|
||||||
case 'D' :
|
case 'D' :
|
||||||
distr_fl = TRUE;
|
distr_fl = TRUE;
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
|
#ifdef AAL
|
||||||
|
case 's':
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
|
|
Loading…
Reference in a new issue