From 6e29a8bbaf94c3acda75d66b81b9d1ed4a0c13af Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 27 Jan 2019 17:30:01 +0100 Subject: [PATCH] qa.sh: Link with clang for Address Sanitizer --- expat/qa.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/expat/qa.sh b/expat/qa.sh index 6a26976f..02159ec9 100755 --- a/expat/qa.sh +++ b/expat/qa.sh @@ -44,6 +44,7 @@ main() { # http://clang.llvm.org/docs/AddressSanitizer.html local CC="${CLANG_CC}" local CXX="${CLANG_CXX}" + local LD="${CLANG_CXX}" BASE_COMPILE_FLAGS+=" -g -fsanitize=address -fno-omit-frame-pointer" BASE_LINK_FLAGS+=" -g -Wc,-fsanitize=address" # "-Wc," is for libtool ;;