view sources/sections/musl.build @ 1744:4c3164f0d2c2 draft

As long as current kernels have an overlay filesystem, might as well enable it.
author Rob Landley <rob@landley.net>
date Sun, 22 Feb 2015 17:22:00 -0600
parents 4f2b55e22fa1
children acaa88463c0c
line wrap: on
line source

# Build and install musl

CC= CROSS_COMPILE=${ARCH}- ./configure --prefix=/ &&
DESTDIR="$STAGE_DIR" make -j $CPUS CROSS_COMPILE=${ARCH}- all install &&
echo '#define __MUSL__' >> "$STAGE_DIR"/include/features.h &&
ln -s libc.so "$STAGE_DIR/lib/ld-musl.so.0"