live-bootstrap/sysa/tcc-0.9.27/mes-libc-patched.kaem
Paul Dersey b929dc84b4 Fix mes-libc crt1 to allow commands with greater than 255 arguments to run
Also reverse order of tcc-patched and mes-libc-patched stages.
2021-02-03 13:40:56 -05:00

15 lines
223 B
Bash
Executable file

#!/bin/sh
set -ex
cd src/mes-libc
# Patch
patch -Np0 -i ../../patches/mes-libc-qsort.patch
patch -Np0 -i ../../patches/mes-libc-crt1.patch
# Recompile libc
cd ../tcc-0.9.27
kaem --file ../../compile-libc.kaem
cd ../..