changeset 1694:4f2b55e22fa1

Identify musl in features.h.
author Rob Landley <rob@landley.net>
date Sun, 05 Oct 2014 21:44:40 -0500
parents aee8b52672d7
children dcaa6003b183
files sources/sections/musl.build
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"
+