ffmpeg | branch: master | Kacper Michajłow <kaspe...@gmail.com> | Thu Jul 17 
02:45:58 2025 +0200| [c6ce05cec365c806d6e36138635cd518950219f3] | committer: 
Kacper Michajłow

configure: allow -ubsan in toolchain

It's is commonly called UBSAN after all.

Signed-off-by: Kacper Michajłow <kaspe...@gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c6ce05cec365c806d6e36138635cd518950219f3
---

 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index c8ff95d858..c1c492fe93 100755
--- a/configure
+++ b/configure
@@ -381,10 +381,10 @@ Toolchain options:
   --target-samples=DIR     path to samples directory on target
   --tempprefix=PATH        force fixed dir/prefix instead of mktemp for checks
   --toolchain=NAME         set tool defaults according to NAME
-                           (<tool>[-sanitizer[-...]], e.g. clang-asan-usan
+                           (<tool>[-sanitizer[-...]], e.g. clang-asan-ubsan
                            tools: gcc, clang, msvc, icl, gcov, llvm-cov,
                                   valgrind-memcheck, valgrind-massif, hardened
-                           sanitizers: asan, lsan, msan, tsan, usan)
+                           sanitizers: asan, lsan, msan, tsan, ubsan)
   --nm=NM                  use nm tool NM [$nm_default]
   --ar=AR                  use archive tool AR [$ar_default]
   --as=AS                  use assembler AS [$as_default]
@@ -4636,7 +4636,7 @@ add_sanitizer_flags(){
             add_cflags  -fsanitize=thread
             add_ldflags -fsanitize=thread
         ;;
-        usan)
+        usan|ubsan)
             add_cflags  -fsanitize=undefined
             add_ldflags -fsanitize=undefined
         ;;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to