[FFmpeg-devel] [PATCH v2 3/5] configure: allow -ubsan in toolchain

Kacper Michajłow kasper93 at gmail.com
Thu Jul 17 05:04:40 EEST 2025


It's is commonly called UBSAN after all.

Signed-off-by: Kacper Michajłow <kasper93 at gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 11b2a93038..bff0fe285b 100755
--- a/configure
+++ b/configure
@@ -4628,7 +4628,7 @@ add_sanitizer_flags(){
             add_cflags  -fsanitize=thread
             add_ldflags -fsanitize=thread
         ;;
-        usan)
+        usan|ubsan)
             add_cflags  -fsanitize=undefined
             add_ldflags -fsanitize=undefined
         ;;
-- 
2.50.1



More information about the ffmpeg-devel mailing list