PlainOsBuilder/stages/4-host-compiler.sh
Your Name 9126921467 fix
2023-12-26 13:36:10 +03:00

11 lines
234 B
Bash
Executable File

#!/bin/sh
echo "* Build host compiler" >&2
cd tcc
./configure --extra-cflags="-Os -s" --prefix=$RTFS/ --elfinterp=/lib/libc.so --config-musl --config-bcheck=no --enable-static --cc=$RTFS/bin/tcc
make -j $(nproc)
make install
cd ..