changeset 1499:461d70885b17

Fix toybox build script. CROSS_COMPILE needs to be an environment variable, not a make variable (otherwise it doesn't get automatically exported).
author Rob Landley <rob@landley.net>
date Sat, 04 Feb 2012 13:29:02 -0600
parents 941eaecb41d6
children 7e918ec092c9
files sources/sections/toybox.build
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/toybox.build	Sat Feb 04 12:15:19 2012 -0600
+++ b/sources/sections/toybox.build	Sat Feb 04 13:29:02 2012 -0600
@@ -6,7 +6,7 @@
 
 make defconfig &&
 cp .config "$WORK"/config-toybox &&
-CFLAGS="$CFLAGS $STATIC_FLAGS" make -j $CPUS $DO_CROSS &&
+CFLAGS="$CFLAGS $STATIC_FLAGS" $DO_CROSS make -j $CPUS &&
 PREFIX="$STAGE_DIR" make install$([ -z "$DO_CROSS" ] && echo _flat) || dienow
 
 if [ ! -z "$SKIP_STRIP" ]