mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-12 20:46:01 -05:00
explicit paths for deps when cross compiling
This commit is contained in:
@@ -155,6 +155,7 @@ export PATH=$PATH:$TOOLPATH/$package/bin
|
||||
if [ ! -z $CROSSBUILD ]; then
|
||||
prefix=$INSTALLDIR/$CROSSBUILD/$package
|
||||
CROSS_PARAMS="--build=`./config.guess` --host=$CROSSBUILD"
|
||||
CROSS_GCC_PARAMS="--with-gmp=$CROSSPATH --with-mpfr=$CROSSPATH --with-mpc=$CROSSPATH"
|
||||
else
|
||||
prefix=$INSTALLDIR/$package
|
||||
fi
|
||||
|
||||
@@ -64,6 +64,7 @@ then
|
||||
--with-system-zlib \
|
||||
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 48" \
|
||||
$CROSS_PARAMS \
|
||||
$CROSS_GCC_PARAMS \
|
||||
|| { echo "Error configuring gcc"; exit 1; }
|
||||
touch configured-gcc
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user