Merge "build: Fix default values for some SANITIZER options"

This commit is contained in:
Joshua Colp
2016-11-11 04:36:44 -06:00
committed by Gerrit Code Review
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@@ -18673,7 +18673,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "yes" >&6; }
AST_ADDRESS_SANITIZER=1
else
AST_ADDRESS_SANITIZER=
AST_ADDRESS_SANITIZER=0
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
@@ -18705,7 +18705,7 @@ if ac_fn_c_try_compile "$LINENO"; then :
$as_echo "yes" >&6; }
AST_THREAD_SANITIZER=1
else
AST_THREAD_SANITIZER=
AST_THREAD_SANITIZER=0
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

View File

@@ -1115,7 +1115,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}"
@@ -1131,7 +1131,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}"