Commit 2498a383 authored by Thomas Guillem's avatar Thomas Guillem

configure: fix link error with --with-sanitizer=address

Fixed by
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=a5c6466528c060cc4660ad0319c00740db0e42ba
but there is no libtool release yet.
parent b6b297b9
......@@ -1025,6 +1025,7 @@ AS_VAR_IF(with_sanitizer, no, [], [
AS_IF([test -z "${with_sanitizer##*address*}" ], [
AX_APPEND_COMPILE_FLAGS([-fsanitize-address-use-after-scope -fno-omit-frame-pointer])
AX_APPEND_COMPILE_FLAGS([-fsanitize-address-use-after-scope -fno-omit-frame-pointer], [CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-lasan], [LDFLAGS])
])
AS_IF([test -z "${with_sanitizer##*memory*}" ], [
AX_APPEND_COMPILE_FLAGS([-fPIE -pie])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment