diff --git a/notwa-util/cosmopolitan-bootstrap11 b/notwa-util/cosmopolitan-bootstrap11 index 2eec929..642ec82 100755 --- a/notwa-util/cosmopolitan-bootstrap11 +++ b/notwa-util/cosmopolitan-bootstrap11 @@ -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" \