mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
update arm tool chain
This commit is contained in:
parent
a6d9da5e43
commit
a9d11df3a3
2 changed files with 12 additions and 6 deletions
15
trunk/configure
vendored
15
trunk/configure
vendored
|
@ -47,12 +47,15 @@ echo "" >> $SRS_AUTO_HEADERS_H
|
|||
# generate auto headers file, depends on the finished of options.sh
|
||||
#####################################################################################
|
||||
# the arm-ubuntu12 options for make for depends
|
||||
SrsArmCC="arm-linux-gnueabi-gcc"
|
||||
SrsArmGCC="arm-linux-gnueabi-gcc"
|
||||
SrsArmCXX="arm-linux-gnueabi-g++"
|
||||
SrsArmAR="arm-linux-gnueabi-ar"
|
||||
SrsArmLD="arm-linux-gnueabi-ld"
|
||||
SrsArmRANDLIB="arm-linux-gnueabi-ranlib"
|
||||
if [[ -z $SrsArmCC ]]; then SrsArmCC="arm-linux-gnueabi-gcc"; fi
|
||||
if [[ -z $SrsArmGCC ]]; then SrsArmGCC="arm-linux-gnueabi-gcc"; fi
|
||||
if [[ -z $SrsArmCXX ]]; then SrsArmCXX="arm-linux-gnueabi-g++"; fi
|
||||
if [[ -z $SrsArmAR ]]; then SrsArmAR="arm-linux-gnueabi-ar"; fi
|
||||
if [[ -z $SrsArmLD ]]; then SrsArmLD="arm-linux-gnueabi-ld"; fi
|
||||
if [[ -z $SrsArmRANDLIB ]]; then SrsArmRANDLIB="arm-linux-gnueabi-ranlib"; fi
|
||||
echo "cc=$SrsArmCC gcc=$SrsArmGCC g++=$SrsArmCXX ar=$SrsArmAR ld=$SrsArmLD randlib=$SrsArmRANDLIB"
|
||||
echo "#define SRS_ARM_TOOL_CHAIN \"cc=$SrsArmCC gcc=$SrsArmGCC g++=$SrsArmCXX ar=$SrsArmAR ld=$SrsArmLD randlib=$SrsArmRANDLIB\"" >> $SRS_AUTO_HEADERS_H
|
||||
echo "" >> $SRS_AUTO_HEADERS_H
|
||||
|
||||
# apply user options.
|
||||
. auto/depends.sh
|
||||
|
|
|
@ -161,6 +161,9 @@ int main(int argc, char** argv)
|
|||
srs_trace("uname: "SRS_UNAME);
|
||||
srs_trace("build: %s, %s", SRS_BUILD_DATE, srs_is_little_endian()? "little-endian":"big-endian");
|
||||
srs_trace("configure: "SRS_CONFIGURE);
|
||||
#ifdef SRS_ARM_UBUNTU12
|
||||
srs_trace("arm tool chain: "SRS_ARM_TOOL_CHAIN);
|
||||
#endif
|
||||
|
||||
if ((ret = _srs_server->initialize()) != ERROR_SUCCESS) {
|
||||
return ret;
|
||||
|
|
Loading…
Reference in a new issue