Mercurial > hg > aboriginal
comparison sources/sections/musl.build @ 1694:4f2b55e22fa1 draft
Identify musl in features.h.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 05 Oct 2014 21:44:40 -0500 |
parents | a87931846137 |
children | acaa88463c0c |
comparison
equal
deleted
inserted
replaced
1693:aee8b52672d7 | 1694:4f2b55e22fa1 |
---|---|
1 # Build and install musl | 1 # Build and install musl |
2 | 2 |
3 CC= CROSS_COMPILE=${ARCH}- ./configure --prefix=/ && | 3 CC= CROSS_COMPILE=${ARCH}- ./configure --prefix=/ && |
4 DESTDIR="$STAGE_DIR" make -j $CPUS CROSS_COMPILE=${ARCH}- all install && | 4 DESTDIR="$STAGE_DIR" make -j $CPUS CROSS_COMPILE=${ARCH}- all install && |
5 echo '#define __MUSL__' >> "$STAGE_DIR"/include/features.h && | |
5 ln -s libc.so "$STAGE_DIR/lib/ld-musl.so.0" | 6 ln -s libc.so "$STAGE_DIR/lib/ld-musl.so.0" |
7 |