From 438df0f4f5e5fe487d19703d1b8b14a20029bf3b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 8 Apr 2021 00:06:17 +0200 Subject: [PATCH] configure: fix --enable-ubsan which didn't actually enable anything --- NEWS.md | 5 +++++ ac/debugging_profiling.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 4ed4a7ca0..4a82a61d5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,6 +17,11 @@ mid-stream) from certain containers (e.g. Matroska). This bug was introduced in release 56.0.0. Fixes #3083. +## Build system changes + +* configure: the `--enable-ubsan` option hasn't actually enabled anything + since release 39.0.0. + # Version 56.0.0 "Strasbourg / St. Denis" 2021-04-05 diff --git a/ac/debugging_profiling.m4 b/ac/debugging_profiling.m4 index d162525f2..8b75a374f 100644 --- a/ac/debugging_profiling.m4 +++ b/ac/debugging_profiling.m4 @@ -94,7 +94,7 @@ AC_ARG_ENABLE([ubsan], AC_HELP_STRING([--enable-ubsan],[compile with sanitization for undefined behavior turned on (no)]), [],[enable_ubsan=no]) -if test x"$USE_UBSAN" = xyes ; then +if test x"$enable_ubsan" = xyes ; then opt_features_yes="$opt_features_yes\n * development technique 'undefined behavior sanitizer'" else opt_features_no="$opt_features_no\n * development technique 'undefined behavior sanitizer'"