group cosmo patches (also remove one)
This commit is contained in:
parent
97848badd7
commit
3dd598b9ea
1 changed files with 4 additions and 3 deletions
|
@ -7,9 +7,10 @@ if [ ! -e /cosmopolitan-bootstrap.done ]; then
|
|||
| while read -r d; do [ ! -d "$d" ] || rm -r "$d"; done \
|
||||
&& cd /root/cosmopolitan \
|
||||
&& export V=0 COLUMNS=80 TMPDIR=/tmp \
|
||||
&& shed build/config.mk 's/-march=native/-march=haswell -mno-pclmul -mtune=generic/' \
|
||||
&& sed -i 's/skip=" 76" count=" 128"/skip=76 count=128 /' build/bootstrap/*.com \
|
||||
&& install -m0755 build/bootstrap/ape.elf /usr/bin/ape \
|
||||
\
|
||||
&& sed -i 's/skip=" 76" count=" 128"/skip=76 count=128 /' build/bootstrap/*.com \
|
||||
&& shed build/config.mk 's/-march=native/-march=haswell -mno-pclmul -mtune=generic/' \
|
||||
&& shed Makefile \
|
||||
'/\bNET_HTTP\b/i\\tTHIRD_PARTY_LINENOISE\t\t\\' \
|
||||
'/\bNET_HTTP\b/i\\tTOOL_ARGS\t\t\\' \
|
||||
|
@ -18,7 +19,7 @@ if [ ! -e /cosmopolitan-bootstrap.done ]; then
|
|||
&& shed libc/calls/unveil.c \
|
||||
'/^ if (landlock_abi_version == -1) {/i\
|
||||
landlock_abi_version = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION);' \
|
||||
&& sed -i '/#\t/d' third_party/third_party.mk \
|
||||
\
|
||||
&& { [ "$COSMO_FLAVOR" != def ] && mode="$COSMO_FLAVOR" || mode= ;} \
|
||||
&& printf '%s="%s"\n' >env \
|
||||
commit "$COSMO_COMMIT" \
|
||||
|
|
Loading…
Add table
Reference in a new issue