mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For loongarch, fix openssl build bug, always use linux64-mips64 as required.
This commit is contained in:
parent
1589858cb0
commit
079ac107f0
1 changed files with 2 additions and 0 deletions
|
@ -551,6 +551,8 @@ if [[ $SRS_SSL == YES && $SRS_USE_SYS_SSL != YES ]]; then
|
||||||
echo "Warning: Local openssl is on, ignore system openssl"
|
echo "Warning: Local openssl is on, ignore system openssl"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
# Patch for loongarch mips64
|
||||||
|
g++ -dM -E - </dev/null |grep '#define __mips64 1' -q && OPENSSL_CONFIG="./Configure linux64-mips64"
|
||||||
# For RTC, we should use ASM to improve performance, not a little improving.
|
# For RTC, we should use ASM to improve performance, not a little improving.
|
||||||
if [[ $SRS_RTC == NO || $SRS_NASM == NO ]]; then
|
if [[ $SRS_RTC == NO || $SRS_NASM == NO ]]; then
|
||||||
OPENSSL_OPTIONS="$OPENSSL_OPTIONS -no-asm"
|
OPENSSL_OPTIONS="$OPENSSL_OPTIONS -no-asm"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue