mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-20 17:37:22 -05:00
explicit paths for deps when cross compiling
This commit is contained in:
parent
fec333d757
commit
53f6f731ba
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user