PlainOsBuilder/stages/1-libc.sh

12 lines
184 B
Bash
Raw Normal View History

2023-12-20 18:18:01 +00:00
#!/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 ..