mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
* Asan: Disable asan for CentOS and use statically link if possible. v5.0.127 (#3347)
1. Disable asan for all CentOS by default, however user could enable it.
2. Link asan statically if possible.
* Update version to v5.0.127
Co-authored-by: winlin <winlin@vip.126.com>
PICK dd0f398296
This commit is contained in:
parent
fff8d9863c
commit
e1f6661d1f
6 changed files with 23 additions and 9 deletions
5
trunk/configure
vendored
5
trunk/configure
vendored
|
@ -197,11 +197,6 @@ if [[ $SRS_STATIC == YES ]]; then
|
|||
SrsLinkOptions="${SrsLinkOptions} -static-libstdc++";
|
||||
fi
|
||||
|
||||
# For asan(Google Address Sanitizer)
|
||||
if [[ $SRS_SANITIZER == YES && $OS_IS_X86_64 == YES && $SRS_SANITIZER_STATIC == YES ]]; then
|
||||
SrsLinkOptions="${SrsLinkOptions} -static-libasan";
|
||||
fi
|
||||
|
||||
# For coverage.
|
||||
if [[ $SRS_GCOV == YES ]]; then
|
||||
SrsLinkOptions="${SrsLinkOptions} ${SrsGcov}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue