mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug of mips
This commit is contained in:
parent
97f4d81193
commit
0c121f1c9b
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ function Ubuntu_prepare()
|
||||||
|
|
||||||
# for arm, install the cross build tool chain.
|
# for arm, install the cross build tool chain.
|
||||||
if [ $SRS_ARM_UBUNTU12 = YES ]; then
|
if [ $SRS_ARM_UBUNTU12 = YES ]; then
|
||||||
`$SrsArmCC --help` >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
$SrsArmCC --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
echo "install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi"
|
echo "install gcc-arm-linux-gnueabi g++-arm-linux-gnueabi"
|
||||||
require_sudoer "sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi"
|
require_sudoer "sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi"
|
||||||
sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
|
sudo apt-get install -y --force-yes gcc-arm-linux-gnueabi g++-arm-linux-gnueabi; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
|
||||||
|
@ -117,7 +117,7 @@ function Ubuntu_prepare()
|
||||||
|
|
||||||
# for mips, user must installed the tool chain.
|
# for mips, user must installed the tool chain.
|
||||||
if [ $SRS_MIPS_UBUNTU12 = YES ]; then
|
if [ $SRS_MIPS_UBUNTU12 = YES ]; then
|
||||||
`$SrsArmCC --help` >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
$SrsArmCC --help >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
echo "user must install the tool chain: $SrsArmCC"
|
echo "user must install the tool chain: $SrsArmCC"
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue