mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
build: Fix default values for some SANITIZER options
2 of the sanitizers didn't have default values so in systems that don't support sanitizers menuselect would spit out warnings. They were harmless but confusing. They've now been set to "0". Change-Id: I08dc495e3b83f1feac3160b421f538c375fc5d58
This commit is contained in:
@@ -1106,7 +1106,7 @@ AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([], [int x = 1;])],
|
||||
AC_MSG_RESULT(yes)
|
||||
[AST_ADDRESS_SANITIZER=1],
|
||||
[AST_ADDRESS_SANITIZER=]
|
||||
[AST_ADDRESS_SANITIZER=0]
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
CFLAGS="${saved_sanitize_CFLAGS}"
|
||||
@@ -1122,7 +1122,7 @@ AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([], [int x = 1;])],
|
||||
AC_MSG_RESULT(yes)
|
||||
[AST_THREAD_SANITIZER=1],
|
||||
[AST_THREAD_SANITIZER=]
|
||||
[AST_THREAD_SANITIZER=0]
|
||||
AC_MSG_RESULT(no)
|
||||
)
|
||||
CFLAGS="${saved_sanitize_CFLAGS}"
|
||||
|
Reference in New Issue
Block a user