1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Asan: Refine asan warning message for macOS.

This commit is contained in:
winlin 2022-12-31 19:27:21 +08:00
parent 7750bdae10
commit 7bdb7270cf
3 changed files with 14 additions and 0 deletions

View file

@ -149,6 +149,11 @@ if [[ $SRS_GPERF_CP == YES ]]; then
else
srs_undefine_macro "SRS_GPERF_CP" $SRS_AUTO_HEADERS_H
fi
if [ $SRS_SANITIZER == YES ]; then
srs_define_macro "SRS_SANITIZER" $SRS_AUTO_HEADERS_H
else
srs_undefine_macro "SRS_SANITIZER" $SRS_AUTO_HEADERS_H
fi
if [ $SRS_SANITIZER_LOG == YES ]; then
srs_define_macro "SRS_SANITIZER_LOG" $SRS_AUTO_HEADERS_H
else