From 30a14c58844470f3e426860c6835f197bd93c528 Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Fri, 10 Jan 2020 15:32:35 +0000 Subject: [PATCH] Link asan in a clang-friendly way --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 877cfb43..e03c7157 100644 --- a/configure.ac +++ b/configure.ac @@ -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