11 lines
230 B
Bash
11 lines
230 B
Bash
|
#!/bin/sh
|
||
|
echo "* Build host compiler"
|
||
|
|
||
|
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 ..
|