configure: Support msan as toolchain

pull/202/head
Luca Barbato 9 years ago
parent 328e9a15c5
commit c11a858626
  1. 5
      configure

5
configure vendored

@ -2701,6 +2701,11 @@ case "$toolchain" in
add_cflags -fsanitize=address
add_ldflags -fsanitize=address
;;
*-msan)
cc_default="${toolchain%-msan}"
add_cflags -fsanitize=memory -fsanitize-memory-track-origins
add_ldflags -fsanitize=memory
;;
*-tsan)
cc_default="${toolchain%-tsan}"
add_cflags -fsanitize=thread -pie

Loading…
Cancel
Save