1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00

Add machine to build dir

This commit is contained in:
winlin 2021-06-21 14:05:46 +08:00
parent 2376c4cebb
commit 3aba2f3479

View file

@ -17,7 +17,7 @@ else
SRS_PLATFORM="${SRS_PLATFORM}-${GCC_VERSION}"
fi
# Use isolate cache for different SRS version.
SRS_PLATFORM="${SRS_PLATFORM}-SRS4"
SRS_PLATFORM="${SRS_PLATFORM}-SRS4-$(uname -m)"
if [[ $SRS_CROSS_BUILD == YES ]]; then
SRS_PLATFORM="${SRS_PLATFORM}-CROSSBUILD-$(echo $SRS_TOOL_CC|awk -F - '{print $1}')"