PlainOsBuilder/stages/1-libc.sh
2023-12-20 21:18:01 +03:00

12 lines
184 B
Bash
Executable File

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