configure: fix --enable-ubsan which didn't actually enable anything

This commit is contained in:
Moritz Bunkus 2021-04-08 00:06:17 +02:00
parent 686cc15da4
commit 438df0f4f5
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
2 changed files with 6 additions and 1 deletions

View File

@ -17,6 +17,11 @@
mid-stream) from certain containers (e.g. Matroska). This bug was introduced mid-stream) from certain containers (e.g. Matroska). This bug was introduced
in release 56.0.0. Fixes #3083. 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 # Version 56.0.0 "Strasbourg / St. Denis" 2021-04-05

View File

@ -94,7 +94,7 @@ AC_ARG_ENABLE([ubsan],
AC_HELP_STRING([--enable-ubsan],[compile with sanitization for undefined behavior turned on (no)]), AC_HELP_STRING([--enable-ubsan],[compile with sanitization for undefined behavior turned on (no)]),
[],[enable_ubsan=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'" opt_features_yes="$opt_features_yes\n * development technique 'undefined behavior sanitizer'"
else else
opt_features_no="$opt_features_no\n * development technique 'undefined behavior sanitizer'" opt_features_no="$opt_features_no\n * development technique 'undefined behavior sanitizer'"