# HG changeset patch # User Rob Landley # Date 1412563480 18000 # Node ID 4f2b55e22fa19e0e98a965b3292997403ff5de90 # Parent aee8b52672d7c33e9d45adb1c26b66530ce17d83 Identify musl in features.h. diff -r aee8b52672d7 -r 4f2b55e22fa1 sources/sections/musl.build --- a/sources/sections/musl.build Sun Oct 05 21:43:14 2014 -0500 +++ b/sources/sections/musl.build Sun Oct 05 21:44:40 2014 -0500 @@ -2,4 +2,6 @@ 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" +