12 lines
227 B
Bash
Executable File
12 lines
227 B
Bash
Executable File
#!/bin/sh
|
|
echo "* Build cross compiler" >&2
|
|
|
|
cd tcc
|
|
|
|
make clean
|
|
./configure --extra-cflags="-Os -s" --prefix=$RTFS/ --elfinterp=/lib/libc.so --config-musl --config-bcheck=no --enable-static
|
|
make -j $(nproc)
|
|
make install
|
|
|
|
cd ..
|