changeset 1820:e9732d0fad99

Fix musl build.
author Rob Landley <rob@landley.net>
date Sat, 28 Nov 2015 16:40:45 -0600
parents 40c2fe006fcf
children d3b5e8a635ea
files sources/sections/musl.build
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/musl.build	Tue Nov 24 13:07:00 2015 -0600
+++ b/sources/sections/musl.build	Sat Nov 28 16:40:45 2015 -0600
@@ -1,6 +1,6 @@
 # Build and install musl
 
-CC= $DO_CROSS ./configure --prefix=/ &&
+CC= CROSS_COMPILE="$CC_PREFIX" ./configure --prefix=/ &&
 DESTDIR="$STAGE_DIR" make -j $CPUS $DO_CROSS all install &&
 echo '#define __MUSL__' >> "$STAGE_DIR"/include/features.h &&
 ln -s libc.so "$STAGE_DIR/lib/ld-musl.so.0"