mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 16:28:30 +00:00
Make fatcosmocc good enough to build Lua 5.4.6
make all test CC=fatcosmocc AR='fatcosmoar rcu' This change introduces a program named mktemper.com which provides more reliable and secure temporary file name generation for scripts. It also makes our ar.com program more permissive in what commands it'll accept. The cosmocc command is improved by this change too.
This commit is contained in:
parent
566cb5963f
commit
399d14aadf
17 changed files with 612 additions and 629 deletions
|
@ -327,8 +327,11 @@ int main(int argc, char *argv[]) {
|
|||
// on modern systems that it isn't worth supporting the byzantine
|
||||
// standard posix ar flags intended to improve cassette tape perf
|
||||
SortChars(flags, strlen(flags));
|
||||
if (!IsEqual(flags, "crs") && //
|
||||
!IsEqual(flags, "Dcrs")) {
|
||||
if (*flags == 'D') ++flags;
|
||||
if (!IsEqual(flags, "cr") && //
|
||||
!IsEqual(flags, "cru") && //
|
||||
!IsEqual(flags, "crsu") && //
|
||||
!IsEqual(flags, "crs")) {
|
||||
tinyprint(2, program_invocation_name, ": flags should be rcsD\n", NULL);
|
||||
ShowUsage(1, 2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue