mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
BUILD: Compatible with 3.0 options, ignore it
This commit is contained in:
parent
0905558d49
commit
b847a0a218
1 changed files with 4 additions and 2 deletions
|
@ -590,11 +590,13 @@ function check_option_conflicts() {
|
|||
fi
|
||||
|
||||
if [[ $SRS_CROSS_BUILD == YES && ($SRS_TOOL_CC == 'gcc' || $SRS_TOOL_CXX == 'g++' || $SRS_TOOL_AR == 'ar') ]]; then
|
||||
echo "For crossbuild, must not use default toolchain, cc: $SRS_TOOL_CC, cxx: $SRS_TOOL_CXX, ar: $SRS_TOOL_AR"; exit -1
|
||||
echo "Warning: For crossbuild, must not use default toolchain, cc: $SRS_TOOL_CC, cxx: $SRS_TOOL_CXX, ar: $SRS_TOOL_AR"
|
||||
SRS_CROSS_BUILD=NO
|
||||
fi
|
||||
|
||||
if [[ $SRS_NGINX == YES ]]; then
|
||||
echo "Don't support building NGINX, please use docker https://github.com/ossrs/srs-docker"; exit -1;
|
||||
echo "Warning: Don't support building NGINX, please use docker https://github.com/ossrs/srs-docker"
|
||||
SRS_NGINX=NO
|
||||
fi
|
||||
|
||||
# For OSX, recommend to use DTrace, https://blog.csdn.net/win_lin/article/details/53503869
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue