1
0
Fork 0
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:
winlin 2014-05-04 18:52:32 +08:00
parent a88e95d558
commit 97f4d81193
3 changed files with 12 additions and 13 deletions

12
trunk/configure vendored
View file

@ -64,12 +64,12 @@ if [ $SRS_MIPS_UBUNTU12 = YES ]; then
__SrsArmRANDLIB="mipsel-openwrt-linux-ranlib";
fi
# the arm-ubuntu12 options for make for depends
if [[ -z $SrsArmCC ]]; then SrsArmCC=__SrsArmCC; fi
if [[ -z $SrsArmGCC ]]; then SrsArmGCC=__SrsArmGCC; fi
if [[ -z $SrsArmCXX ]]; then SrsArmCXX=__SrsArmCXX; fi
if [[ -z $SrsArmAR ]]; then SrsArmAR=__SrsArmAR; fi
if [[ -z $SrsArmLD ]]; then SrsArmLD=__SrsArmLD; fi
if [[ -z $SrsArmRANDLIB ]]; then SrsArmRANDLIB=__SrsArmRANDLIB; fi
if [[ -z $SrsArmCC ]]; then SrsArmCC=$__SrsArmCC; fi
if [[ -z $SrsArmGCC ]]; then SrsArmGCC=$__SrsArmGCC; fi
if [[ -z $SrsArmCXX ]]; then SrsArmCXX=$__SrsArmCXX; fi
if [[ -z $SrsArmAR ]]; then SrsArmAR=$__SrsArmAR; fi
if [[ -z $SrsArmLD ]]; then SrsArmLD=$__SrsArmLD; fi
if [[ -z $SrsArmRANDLIB ]]; then SrsArmRANDLIB=$__SrsArmRANDLIB; fi
# write to source file
if [ $SRS_EMBEDED_CPU = YES ]; then
echo "cc=$SrsArmCC gcc=$SrsArmGCC g++=$SrsArmCXX ar=$SrsArmAR ld=$SrsArmLD randlib=$SrsArmRANDLIB"