正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
@@ -91,12 +91,7 @@ if [[ "unknown" == $os_machine ]]; then os_machine=`uname -m`; fi | @@ -91,12 +91,7 @@ if [[ "unknown" == $os_machine ]]; then os_machine=`uname -m`; fi | ||
91 | # build srs | 91 | # build srs |
92 | # @see https://github.com/winlinvip/simple-rtmp-server/wiki/Build | 92 | # @see https://github.com/winlinvip/simple-rtmp-server/wiki/Build |
93 | ok_msg "start build srs" | 93 | ok_msg "start build srs" |
94 | -if [ $X86_64 = YES ]; then | ||
95 | - ( | ||
96 | - cd $work_dir && | ||
97 | - ./configure --x86-x64 --prefix=$INSTALL && make | ||
98 | - ) >> $log 2>&1 | ||
99 | -elif [ $ARM = YES ]; then | 94 | +if [ $ARM = YES ]; then |
100 | ( | 95 | ( |
101 | cd $work_dir && | 96 | cd $work_dir && |
102 | ./configure --arm --prefix=$INSTALL && make | 97 | ./configure --arm --prefix=$INSTALL && make |
@@ -106,6 +101,11 @@ elif [ $PI = YES ]; then | @@ -106,6 +101,11 @@ elif [ $PI = YES ]; then | ||
106 | cd $work_dir && | 101 | cd $work_dir && |
107 | ./configure --pi --prefix=$INSTALL && make | 102 | ./configure --pi --prefix=$INSTALL && make |
108 | ) >> $log 2>&1 | 103 | ) >> $log 2>&1 |
104 | +elif [ $X86_64 = YES ]; then | ||
105 | + ( | ||
106 | + cd $work_dir && | ||
107 | + ./configure --x86-x64 --prefix=$INSTALL && make | ||
108 | + ) >> $log 2>&1 | ||
109 | else | 109 | else |
110 | failed_msg "invalid option, must be x86-x64/arm/pi, see --help"; exit 1; | 110 | failed_msg "invalid option, must be x86-x64/arm/pi, see --help"; exit 1; |
111 | fi | 111 | fi |
-
请 注册 或 登录 后发表评论