view sources/sections/musl.build @ 1675:a87931846137

Have ccwrap autodetect which dynamic linker to use, musl's or uClibc's. Give musl a ld-musl.so.0 symlink so we can tell which libc we're using.
author Rob Landley <rob@landley.net>
date Sun, 17 Aug 2014 13:03:48 -0500
parents 35b8949e9d9c
children 4f2b55e22fa1
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 &&
ln -s libc.so "$STAGE_DIR/lib/ld-musl.so.0"