PlainOsBuilder/stages/1-libc.sh
2024-05-31 18:07:40 +03:00

12 lines
188 B
Bash

#!/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 ..