mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Simplify cosmocc builds (#863)
- tcgetpgrp(STDIN_FILENO) should be equal to getpgrp() on Windows also, found while reading wget source code which uses this check to decide whether to print to stderr or to a file - IN6_ADDR_ARE_EQUAL is a comparison macro used when IPV6 is allowed, found while reading CPython3.11 source code - the changes in signal.h and addition of ucontext.h are because CPython3.11 source code expect sigaltstack to be available - the sqlite3.mk change is because CPython3.11 requires sqlite3 to be built with -DOMIT_SHARED_CACHE - unistd.h has getopt.h now, because some libraries like it there
This commit is contained in:
parent
f83eb440f7
commit
3eec69f9c3
7 changed files with 15 additions and 2 deletions
1
third_party/sqlite3/sqlite3.mk
vendored
1
third_party/sqlite3/sqlite3.mk
vendored
|
@ -121,7 +121,6 @@ THIRD_PARTY_SQLITE3_FLAGS = \
|
|||
-DSQLITE_OMIT_UTF16 \
|
||||
-DSQLITE_OMIT_TCL_VARIABLE \
|
||||
-DSQLITE_OMIT_LOAD_EXTENSION \
|
||||
-DSQLITE_OMIT_SHARED_CACHE \
|
||||
-DSQLITE_OMIT_AUTOINIT \
|
||||
-DSQLITE_OMIT_GET_TABLE \
|
||||
-DSQLITE_OMIT_COMPILEOPTION_DIAGS \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue