mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Fix Landlock Make so it can read pattern rule vars
It turned out that specifying all SRCS and INCS as dependencies on the pattern rules for all headers, caused `make` memory usage to skyrocket from 40mb ot 160mb. This change also reduces the build graph another 4%.
This commit is contained in:
parent
62ca1b0902
commit
ead3fc2b31
53 changed files with 105 additions and 93 deletions
|
@ -1,7 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_TIME_TIME_H_
|
||||
#define COSMOPOLITAN_LIBC_TIME_TIME_H_
|
||||
#include "libc/time/struct/tm.h"
|
||||
#include "libc/time/struct/utimbuf.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
|
@ -20,8 +18,6 @@ char *ctime(const int64_t *);
|
|||
char *ctime_r(const int64_t *, char[hasatleast 64]);
|
||||
double difftime(int64_t, int64_t) dontthrow pureconst;
|
||||
extern long double (*nowl)(void);
|
||||
int usleep(uint32_t);
|
||||
int utime(const char *, const struct utimbuf *);
|
||||
int64_t clock(void);
|
||||
int64_t posix2time(int64_t) pureconst;
|
||||
int64_t time(int64_t *);
|
||||
|
@ -29,8 +25,6 @@ int64_t time2posix(int64_t) pureconst;
|
|||
long double ConvertTicksToNanos(uint64_t);
|
||||
long double dsleep(long double);
|
||||
long double dtime(int);
|
||||
struct tm *gmtime(const int64_t *);
|
||||
struct tm *localtime(const int64_t *);
|
||||
unsigned alarm(unsigned);
|
||||
unsigned sleep(unsigned);
|
||||
void RefreshTime(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue