mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Improve cosmocc / cosmoc++ toolchain scripts
- Get out of the red zone - Generate --ftrace nops unless -Os is passed - Intercept -o path to generate .com / .com.dbg appropriately
This commit is contained in:
parent
25678db2a0
commit
22f81a8d50
9 changed files with 207 additions and 127 deletions
|
@ -38,7 +38,7 @@ FLAGS\n\
|
|||
|
||||
const char *prog;
|
||||
|
||||
static void Print(int fd, const char *s, ...) {
|
||||
nullterminated() static void Print(int fd, const char *s, ...) {
|
||||
va_list va;
|
||||
char buf[2048];
|
||||
va_start(va, s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue