mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-25 04:26:31 +01:00
Add musl 1.1.24.
This commit is contained in:
parent
9d5519ad79
commit
9ddc0bcee6
12 changed files with 304 additions and 1 deletions
22
sysa/musl-1.1.24/musl-1.1.24.sh
Executable file
22
sysa/musl-1.1.24/musl-1.1.24.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
src_prepare() {
|
||||
default_src_prepare
|
||||
|
||||
# tcc does not support complex types
|
||||
rm -rf src/complex
|
||||
|
||||
# Configure fails without this
|
||||
mkdir -p /dev
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CC=tcc ./configure \
|
||||
--host=i386 \
|
||||
--disable-shared \
|
||||
--prefix=/after \
|
||||
--libdir=/after/lib/musl/ \
|
||||
--includedir=/after/include/musl
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make CROSS_COMPILE= AR="tcc -ar" RANLIB=true CFLAGS="-DSYSCALL_NO_TLS"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue