BUIL: Do not check for Clang when enabling ASan
ASan is available on GCC as well.
This commit is contained in:
parent
9fc24522d7
commit
4472ea46c3
1 changed files with 2 additions and 6 deletions
4
configure
vendored
4
configure
vendored
|
@ -5621,12 +5621,8 @@ fi
|
|||
echo_n "Enabling Address Sanitizer... "
|
||||
|
||||
if test "$_enable_asan" = yes ; then
|
||||
if test "$have_clang" = yes ; then
|
||||
append_var CXXFLAGS "-fsanitize=address -fno-omit-frame-pointer"
|
||||
append_var LDFLAGS "-fsanitize=address -fno-omit-frame-pointer"
|
||||
else
|
||||
_enable_asan="disabled, clang-only"
|
||||
fi
|
||||
fi
|
||||
echo "$_enable_asan"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue