From 2315d097123eedbd1961bdc2c1c9ef92d96cf846 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 18 Mar 2016 22:32:24 +0100 Subject: [PATCH] build: enable undefined sanitizer All tests pass with this sanitizer. Let's enable it too. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index da03047c..f8be3b4f 100644 --- a/configure.ac +++ b/configure.ac @@ -123,7 +123,7 @@ AC_ARG_ENABLE([sanitizers], [ case "$enableval" in no) sanitizers= ;; - yes) sanitizers="-fsanitize=address" ;; + yes) sanitizers="-fsanitize=address,undefined" ;; *) sanitizers="-fsanitize=$enableval" ;; esac if test x"$sanitizers" != x; then -- 2.39.5