Skip to content

Commit 8421d92

Browse files
committed
always use --build
1 parent 20dc132 commit 8421d92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build-devkit.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,13 @@ export MAKE
154154
TOOLPATH=$(echo $INSTALLDIR | sed -e 's/^\([a-zA-Z]\):/\/\1/')
155155
export PATH=$PATH:$TOOLPATH/$package/bin
156156

157+
CROSS_PARAMS="--build=`./config.guess`"
158+
157159
if [ ! -z $CROSSBUILD ]; then
158160
toolsprefix=$INSTALLDIR/$CROSSBUILD/tools
159161
prefix=$INSTALLDIR/$CROSSBUILD/$package
160162
toolsprefix=$INSTALLDIR/$CROSSBUILD/tools
161-
CROSS_PARAMS="--build=`./config.guess` --host=$CROSSBUILD"
163+
CROSS_PARAMS="$CROSS_PARAMS --host=$CROSSBUILD"
162164
CROSS_GCC_PARAMS="--with-gmp=$CROSSPATH --with-mpfr=$CROSSPATH --with-mpc=$CROSSPATH"
163165
else
164166
toolsprefix=$INSTALLDIR/tools

0 commit comments

Comments
 (0)