mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Build: Disable openssl ASM for loongson. v5.0.35
This commit is contained in:
parent
5ae495ab95
commit
14832b66eb
2 changed files with 4 additions and 2 deletions
|
@ -551,8 +551,10 @@ if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL != YES ]]; then
|
|||
echo "Warning: Local openssl is on, ignore system openssl"
|
||||
fi
|
||||
fi
|
||||
# Patch for loongarch mips64
|
||||
# Patch for loongarch mips64, disable ASM for build failed message as bellow:
|
||||
# Error: opcode not supported on this processor: mips3 (mips3)
|
||||
g++ -dM -E - </dev/null |grep '#define __mips64 1' -q && OPENSSL_CONFIG="./Configure linux64-mips64"
|
||||
uname -r |grep -q "loongson" && OPENSSL_OPTIONS="$OPENSSL_OPTIONS -no-asm"
|
||||
# For RTC, we should use ASM to improve performance, not a little improving.
|
||||
if [[ $SRS_RTC == NO || $SRS_NASM == NO ]]; then
|
||||
OPENSSL_OPTIONS="$OPENSSL_OPTIONS -no-asm"
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 34
|
||||
#define VERSION_REVISION 35
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue