From: Vincent Bernat Date: Fri, 18 Mar 2016 21:32:24 +0000 (+0100) Subject: build: enable undefined sanitizer X-Git-Tag: 0.9.2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2315d097123eedbd1961bdc2c1c9ef92d96cf846;p=thirdparty%2Flldpd.git build: enable undefined sanitizer All tests pass with this sanitizer. Let's enable it too. --- 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