Link asan in a clang-friendly way
This commit is contained in:
parent
6d17463554
commit
30a14c5884
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ AC_ARG_WITH(asan,
|
|||
AC_HELP_STRING([--with-asan],[Build with Address Sanitizer]),
|
||||
[
|
||||
CFLAGS="$CFLAGS -fsanitize=address"
|
||||
LDFLAGS="$LDFLAGS -lasan"
|
||||
LDFLAGS="$LDFLAGS -fsanitize=address"
|
||||
])
|
||||
|
||||
# rpath, for finding librb.so at run time
|
||||
|
|
Loading…
Reference in a new issue