PlainOsBuilder/stages/1-libc.sh

12 lines
188 B
Bash
Executable File

#!/bin/sh
echo "* Build musl libc" >&2
cd libc
make clean
./configure CC=cc CFLAGS="-Os -s -pipe" --disable-warnings --disable-static --prefix=$RTFS
make -j $(nproc)
make install
cd ..